diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-10-30 06:52:59 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-10-30 06:52:59 +1100 |
commit | 09e525fcf3576fa888ffd167ea8099e448efeec8 (patch) | |
tree | 927273df1c57b9dbe43caae6043d52d23405a49e /source/game/StarTechController.cpp | |
parent | fe2a8038d5b04bdca618edf5ae673bda7017149a (diff) |
Fix script.updateDt in tech
Diffstat (limited to 'source/game/StarTechController.cpp')
-rw-r--r-- | source/game/StarTechController.cpp | 2 |
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(); |