summaryrefslogtreecommitdiff
path: root/game/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/main.rs')
-rw-r--r--game/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
index 9449710..28498dc 100644
--- a/game/src/main.rs
+++ b/game/src/main.rs
@@ -68,7 +68,8 @@ impl Game {
};
// Update game state
- self.dungeon.update(inputs, self.window.delta_time());
+ self.dungeon
+ .update(inputs, self.window.delta_time().as_secs_f32());
// Draw a single frame
self.window.draw_frame(&self.dungeon);