fix: water immediately

This commit is contained in:
cha0s 2024-08-01 14:31:08 -05:00
parent c1eb862af2
commit a1873c5295
2 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,10 @@ export default class System {
}
}
schedule() {
this.elapsed = this.frequency;
}
select(query) {
return this.queries[query].select();
}

View File

@ -55,6 +55,8 @@ if (projected?.length > 0) {
Water.water[tileIndex] = Math.min(255, 64 + w);
}
ecs.system('Water').schedule();
Controlled.locked = 0;
}