From 40d64aa8f836087fd9a1af51e257533194bf2d80 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 18 Dec 2024 13:55:45 +0100 Subject: fix ScriptSystem delta time --- src/crepe/system/ScriptSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3