home · contact · privacy
Fix error message on prohibited thing renaming.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:03:02 +0000 (03:03 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:03:02 +0000 (03:03 +0100)
plomrogue/commands.py

index 3a183b9f08f905062e83a902784c5bf2406c9e48..1cf051266e81a6c504454004a1f3cfddb7cb3bfd 100644 (file)
@@ -237,7 +237,7 @@ def cmd_THING_NAME(game, thing_id, name, pw, connection_id):
     if not t:
         raise GameError('thing of ID %s not found' % thing_id)
     if not game.can_do_thing_with_pw(t, pw):
-        raise GameError('wrong password for tile')
+        raise GameError('wrong password for thing')
     t.name = name
     game.changed = True
 cmd_THING_NAME.argtypes = 'int:pos string string'