Fix script.updateDt in tech
This commit is contained in:
parent
fe2a8038d5
commit
09e525fcf3
@ -238,7 +238,7 @@ void TechController::tickMaster(float dt) {
|
|||||||
{"special3", m_moveSpecial3}
|
{"special3", m_moveSpecial3}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.scriptComponent.update(JsonObject{{"moves", moves}, {"dt", dt}});
|
module.scriptComponent.update(JsonObject{{"moves", moves}, {"dt", module.scriptComponent.updateDt(dt)}});
|
||||||
}
|
}
|
||||||
|
|
||||||
resetMoves();
|
resetMoves();
|
||||||
|
Loading…
Reference in New Issue
Block a user