home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b745286
)
Server/py: Fix variable name bug.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 6 Mar 2015 10:42:28 +0000
(11:42 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 6 Mar 2015 10:42:28 +0000
(11:42 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 3234c4aeaa222f8ba22728112e49831ab71f6ffc..5010fe1587ef616f8bd5a9c17c954554d99d0356 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-850,7
+850,7
@@
def command_makeworld(seed_string):
def command_maplength(maplength_string):
"""Redefine map length. Invalidate map, therefore lose all things on it."""
- val = integer_test(
val
_string, 1, 256)
+ val = integer_test(
maplength
_string, 1, 256)
if None != val:
world_db["MAP_LENGTH"] = val
set_world_inactive()