From af8fcb03dfec27571cf6c79127a326caa2348bba Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 11 Dec 2020 03:03:02 +0100 Subject: [PATCH] Fix error message on prohibited thing renaming. --- plomrogue/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.30.2