summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-12 11:01:21 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-12 23:48:49 -0500
commitab1392bba09f8b58dc496b3a3f5b980bc5b475c8 (patch)
tree2044f352eb84e473d037e0b74428914c04e5a754 /game
parentdungeon: bsp generate should return a floor to use same single rng (diff)
downloadDungeonCrawl-ab1392bba09f8b58dc496b3a3f5b980bc5b475c8.tar.gz
DungeonCrawl-ab1392bba09f8b58dc496b3a3f5b980bc5b475c8.tar.bz2
DungeonCrawl-ab1392bba09f8b58dc496b3a3f5b980bc5b475c8.zip
dungeon: switch to only using small rng from rand
Diffstat (limited to 'game')
-rw-r--r--game/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
index 28498dc..693e7f0 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::new();
+ let dungeon = Dungeon::default();
Self {
window,
dungeon,