aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 13:55:45 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 13:55:45 +0100
commit40d64aa8f836087fd9a1af51e257533194bf2d80 (patch)
treedbed48ccb37011b569fe5f1118f1d0debd134ba2 /src/crepe
parent1a81eab8c0c4c0b6f7102ebceb68f259cfc595bb (diff)
fix ScriptSystem delta time
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/system/ScriptSystem.cpp2
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);
}
}