diff options
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs index b06d535..a981924 100644 --- a/src/state.rs +++ b/src/state.rs @@ -36,6 +36,7 @@ impl State { impl EventHandler for State { fn update(&mut self, context: &mut Context) -> GameResult { + self.map.update(); self.player.update(context); self.camera.give_center(self.player.position); Ok(()) |