home · contact · privacy
Only contact with player's radius creates new maps.
[plomrogue2-experiments] / new / plomrogue / commands.py
index c845ed1ce1dcc2135aad94b4696b768cb8ff86f4..bd740b7404999e7d894da1ff8b1ce14e6f86204f 100644 (file)
@@ -19,8 +19,8 @@ def cmd_MAP_SIZE(game, size):
 cmd_MAP_SIZE.argtypes = 'yx_tuple:pos'
 
 def cmd_MAP(game, map_pos):
-    """Create new map at position map_pos and only of '?' cells."""
-    game.world.new_map(map_pos)
+    """Ensure (possibly empty/'?'-filled) map at position map_pos."""
+    game.world.get_map(map_pos)
 cmd_MAP.argtypes = 'yx_tuple'
 
 def cmd_THING_TYPE(game, i, type_):