refactor: immediate wait

This commit is contained in:
cha0s 2024-09-14 17:30:54 -05:00
parent 89044ab2cf
commit 6fd6565c8b

View File

@ -87,5 +87,5 @@ while (shots.length > 0) {
for (let i = 0; i < destroying.length; ++i) { for (let i = 0; i < destroying.length; ++i) {
shots.splice(shots.indexOf(destroying[i]), 1); shots.splice(shots.indexOf(destroying[i]), 1);
} }
await wait(0); await wait();
} }