From 09e525fcf3576fa888ffd167ea8099e448efeec8 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 30 Oct 2023 06:52:59 +1100 Subject: Fix script.updateDt in tech --- source/game/StarTechController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/game/StarTechController.cpp') 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(); -- cgit v1.2.3