summaryrefslogtreecommitdiff
path: root/dungeon/src/entity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dungeon/src/entity.rs')
-rw-r--r--dungeon/src/entity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dungeon/src/entity.rs b/dungeon/src/entity.rs
index 794ef05..b290a2f 100644
--- a/dungeon/src/entity.rs
+++ b/dungeon/src/entity.rs
@@ -413,7 +413,7 @@ impl Dungeon {
pub(crate) fn update_entities(&mut self, input: PlayerInput, delta_time: f32) {
let mut updater = Updater {
floor: &self.floor,
- rng: &mut self.rng,
+ rng: &mut self.game_rng,
player_pos: self.player.entity.pos,
input,
delta_time,