diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-13 09:35:30 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-13 09:47:37 -0500 |
| commit | 018d7d4c06a354071f72c77dc03abbbe622fdc81 (patch) | |
| tree | 31c3e42c171cd2ab170260e2efb6f9a320bbc757 /game | |
| parent | dungeon: switch to only using small rng from rand (diff) | |
| download | DungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.tar.gz DungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.tar.bz2 DungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.zip | |
dungeon: have Dungeon store the rng, not the Floor
Diffstat (limited to 'game')
| -rw-r--r-- | game/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/main.rs b/game/src/main.rs index 693e7f0..569d08a 100644 --- a/game/src/main.rs +++ b/game/src/main.rs @@ -12,7 +12,7 @@ struct Game { impl Game { fn new(window: Window) -> Self { // Initial game state - let dungeon = Dungeon::default(); + let dungeon = Dungeon::random(); Self { window, dungeon, |