From: Christian Heller Date: Fri, 11 Dec 2020 02:03:02 +0000 (+0100) Subject: Fix error message on prohibited thing renaming. X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=af8fcb03dfec27571cf6c79127a326caa2348bba;p=plomrogue2 Fix error message on prohibited thing renaming. --- 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'