X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomrogue%2Fcommands.py;h=1cf051266e81a6c504454004a1f3cfddb7cb3bfd;hb=a595b17ad67ad065a35e14f66773c2eaace0fa8c;hp=3a183b9f08f905062e83a902784c5bf2406c9e48;hpb=8d0b5840b7df40ee883fdcf2fa1b4cd1d39e26fa;p=plomrogue2 diff --git a/plomrogue/commands.py b/plomrogue/commands.py index 3a183b9..1cf0512 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -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'