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

summaryrefslogtreecommitdiff
path: root/source/game/StarTechController.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-10-30 06:52:59 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-10-30 06:52:59 +1100
commit09e525fcf3576fa888ffd167ea8099e448efeec8 (patch)
tree927273df1c57b9dbe43caae6043d52d23405a49e /source/game/StarTechController.cpp
parentfe2a8038d5b04bdca618edf5ae673bda7017149a (diff)
Fix script.updateDt in tech
Diffstat (limited to 'source/game/StarTechController.cpp')
-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();