X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new%2Fplomrogue%2Fcommands.py;h=bcab2d10702c13bda99a2fee684e210b5e7fa979;hp=bd740b7404999e7d894da1ff8b1ce14e6f86204f;hb=97049163acc0844e1656df3f761c9ca612afdeb0;hpb=adbbe8b5526c6d9ae05ca646a5d6da2f347d93c8 diff --git a/new/plomrogue/commands.py b/new/plomrogue/commands.py index bd740b7..bcab2d1 100644 --- a/new/plomrogue/commands.py +++ b/new/plomrogue/commands.py @@ -15,7 +15,7 @@ def cmd_SEED(game, seed): cmd_SEED.argtypes = 'int:nonneg' def cmd_MAP_SIZE(game, size): - game.world.map_size = size + game.map_size = size cmd_MAP_SIZE.argtypes = 'yx_tuple:pos' def cmd_MAP(game, map_pos): @@ -104,7 +104,7 @@ def cmd_SAVE(game): with open(save_file_name, 'w') as f: write(f, 'TURN %s' % game.world.turn) write(f, 'SEED %s' % game.world.rand.prngod_seed) - write(f, 'MAP_SIZE %s' % (game.world.map_size,)) + write(f, 'MAP_SIZE %s' % (game.map_size,)) for map_pos in game.world.maps: write(f, 'MAP %s' % (map_pos,)) for map_pos in game.world.maps: