X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new%2Fplomrogue%2Fcommands.py;h=2d9ecb6e1a2088aef39cb4449f00bc6c9446cfad;hp=c845ed1ce1dcc2135aad94b4696b768cb8ff86f4;hb=bc8966e5d8af45c551f7b2b42503b08609887475;hpb=796f6c0c96e3ad88ced605609fff540b280fbf81 diff --git a/new/plomrogue/commands.py b/new/plomrogue/commands.py index c845ed1..2d9ecb6 100644 --- a/new/plomrogue/commands.py +++ b/new/plomrogue/commands.py @@ -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.ensure_map(map_pos) cmd_MAP.argtypes = 'yx_tuple' def cmd_THING_TYPE(game, i, type_):