diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:55:45 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:55:45 +0100 |
commit | 40d64aa8f836087fd9a1af51e257533194bf2d80 (patch) | |
tree | dbed48ccb37011b569fe5f1118f1d0debd134ba2 /src/crepe | |
parent | 1a81eab8c0c4c0b6f7102ebceb68f259cfc595bb (diff) |
fix ScriptSystem delta time
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/system/ScriptSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/ScriptSystem.cpp b/src/crepe/system/ScriptSystem.cpp index 4afd2ba..0605c7a 100644 --- a/src/crepe/system/ScriptSystem.cpp +++ b/src/crepe/system/ScriptSystem.cpp @@ -25,7 +25,7 @@ void ScriptSystem::update() { script->initialized = true; } - duration_t delta_time = timer.get_delta_time(); + duration_t delta_time = timer.get_scaled_fixed_delta_time(); script->update(delta_time); } } |