Fix script.updateDt in tech

This commit is contained in:
Kae 2023-10-30 06:52:59 +11:00
parent fe2a8038d5
commit 09e525fcf3

View File

@ -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();