refactor: immediate wait
This commit is contained in:
parent
89044ab2cf
commit
6fd6565c8b
|
@ -87,5 +87,5 @@ while (shots.length > 0) {
|
|||
for (let i = 0; i < destroying.length; ++i) {
|
||||
shots.splice(shots.indexOf(destroying[i]), 1);
|
||||
}
|
||||
await wait(0);
|
||||
await wait();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user