Skip to content

Commit 0d9fd19

Browse files
committed
When loading from disk do not mark entire map as tentative
1 parent efd4f3d commit 0d9fd19

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
aagen
22
=====
33

4-
![Screenshot](./screenshot2.png)
4+
![Screenshot](./screenshot3.png)
55

66
Installation
77
------------
@@ -30,6 +30,7 @@ aagen with the `-f` option:
3030

3131

3232
As aagen runs, on the console you will see various informational and debug messages.
33+
To see more messages you can add the `-v` option (or `-vv`, `-vvv` for even more).
3334
One of the first messages output to the console will report the "seed" that was
3435
used to generate this dungeon:
3536

bin/aagen

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def main():
6565
dungeon_display = DungeonDisplay(dungeon_map)
6666
dungeon_generator = DungeonGenerator(dungeon_map, args.seed)
6767

68+
dungeon_map.flush()
6869
dungeon_display.draw(verbosity=args.verbose)
6970

7071
running = True
@@ -97,6 +98,7 @@ def main():
9798
dungeon_map = json.load(f, object_hook=map_from_dict)
9899
dungeon_display = DungeonDisplay(dungeon_map)
99100
dungeon_generator = DungeonGenerator(dungeon_map, args.seed)
101+
dungeon_map.flush()
100102
dungeon_display.draw(verbosity=args.verbose)
101103
running = True
102104
elif event.type == pygame.VIDEORESIZE:

screenshot3.png

44.3 KB
Loading

0 commit comments

Comments
 (0)