Skip to content

Commit

Permalink
Обновить custom.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
THEb0nny committed Mar 28, 2024
1 parent eb3b206 commit fc828d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace control {
export function PauseUntilTime(startTime: number, ms: number) {
if (startTime == 0) startTime = control.millis();
const waitCompletionTime = startTime + ms;
while (control.millis() < waitCompletionTime) loops.pause(0.0001);
while (control.millis() < waitCompletionTime) loops.pause(0.01);
}

}

0 comments on commit fc828d6

Please sign in to comment.