home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e08d7
)
Fix error message on prohibited thing renaming.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:03:02 +0000
(
03:03
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:03:02 +0000
(
03:03
+0100)
plomrogue/commands.py
patch
|
blob
|
history
diff --git
a/plomrogue/commands.py
b/plomrogue/commands.py
index 3a183b9f08f905062e83a902784c5bf2406c9e48..1cf051266e81a6c504454004a1f3cfddb7cb3bfd 100644
(file)
--- 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 t
ile
')
+ raise GameError('wrong password for t
hing
')
t.name = name
game.changed = True
cmd_THING_NAME.argtypes = 'int:pos string string'