events dissappear after 10s

This commit is contained in:
evanpelle
2024-09-20 20:01:18 -07:00
parent df99457867
commit a77831f4c8
5 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export class GameImpl implements MutableGame {
return this._ticks
}
tick() {
executeNextTick() {
this.execs.forEach(e => {
if (e.isActive() && (!this.inSpawnPhase() || e.activeDuringSpawnPhase())) {
e.tick(this._ticks)