home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor client refactoring.
[plomrogue2-experiments]
/
game_common.py
diff --git
a/game_common.py
b/game_common.py
index 599e54bcda4c51b936b9dac9ac1d90b03debd8af..1119ce1b4f8b694a6f8a7f5da6b8686d07434752 100644
(file)
--- a/
game_common.py
+++ b/
game_common.py
@@
-85,7
+85,7
@@
class CommonCommandsMixin:
raise ArgError('First map argument must be one of: ' +
', '.join(legal_grids))
self.world.new_map(geometry, yx)
raise ArgError('First map argument must be one of: ' +
', '.join(legal_grids))
self.world.new_map(geometry, yx)
- cmd_MAP.argtypes = 'string yx_tuple:
nonneg
'
+ cmd_MAP.argtypes = 'string yx_tuple:
pos
'
def cmd_THING_TYPE(self, i, type_):
t = self.world.get_thing(i)
def cmd_THING_TYPE(self, i, type_):
t = self.world.get_thing(i)