home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error message on prohibited thing renaming.
[plomrogue2]
/
plomrogue
/
commands.py
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):
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'
t.name = name
game.changed = True
cmd_THING_NAME.argtypes = 'int:pos string string'