Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/game/StarTechController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarTechController.cpp b/source/game/StarTechController.cpp
index 44c1f37..f99a718 100644
--- a/source/game/StarTechController.cpp
+++ b/source/game/StarTechController.cpp
@@ -238,7 +238,7 @@ void TechController::tickMaster(float dt) {
{"special3", m_moveSpecial3}
};
- module.scriptComponent.update(JsonObject{{"moves", moves}, {"dt", dt}});
+ module.scriptComponent.update(JsonObject{{"moves", moves}, {"dt", module.scriptComponent.updateDt(dt)}});
}
resetMoves();