home · contact · privacy
Server/py: Slightly extend command_maplength().
authorChristian Heller <c.heller@plomlompom.de>
Mon, 2 Mar 2015 04:24:34 +0000 (05:24 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 2 Mar 2015 04:24:34 +0000 (05:24 +0100)
plomrogue-server.py

index c8cb0eebaa8548018f8fce0f990e7d784180d96b..99f1c6017d38aaa2fe6e9c77c1c3e51ca3f24050 100755 (executable)
@@ -369,7 +369,8 @@ def command_makeworld(seed_string):
 def command_maplength(maplength_string):
     # DUMMY.
     set_world_inactive()
-    # TODO: remove things, map
+    # TODO: remove map
+    world_db["Things"] = {}
     setter(None, "MAP_LENGTH", 1, 256)(maplength_string)