mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-24 13:11:50 +00:00
Update automator-commands.js
This commit is contained in:
parent
745c5585df
commit
acc5b974ce
@ -401,7 +401,7 @@ export const AutomatorCommands = [
|
||||
S.commandState = { timeMs: 0 };
|
||||
AutomatorData.logCommandEvent(`Pause started (waiting ${timeString})`, ctx.startLine);
|
||||
} else {
|
||||
S.commandState.timeMs += Math.max(Time.unscaledDeltaTime.milliseconds, AutomatorBackend.currentInterval);
|
||||
S.commandState.timeMs += Math.max(Time.unscaledDeltaTime.totalMilliseconds, AutomatorBackend.currentInterval);
|
||||
}
|
||||
const finishPause = S.commandState.timeMs >= duration;
|
||||
if (finishPause) {
|
||||
|
Loading…
Reference in New Issue
Block a user