Replace forEach() with for()

This commit is contained in:
redphx
2024-10-22 10:42:09 +07:00
parent 01502363ab
commit 6cfff0274d
7 changed files with 25 additions and 16 deletions

View File

@@ -130,6 +130,8 @@ export class GameBar {
// Reset all states
reset() {
this.actions.forEach(action => action.reset());
for (const action of this.actions) {
action.reset();
}
}
}