fix: water immediately
This commit is contained in:
parent
c1eb862af2
commit
a1873c5295
|
@ -45,6 +45,10 @@ export default class System {
|
|||
}
|
||||
}
|
||||
|
||||
schedule() {
|
||||
this.elapsed = this.frequency;
|
||||
}
|
||||
|
||||
select(query) {
|
||||
return this.queries[query].select();
|
||||
}
|
||||
|
|
|
@ -55,6 +55,8 @@ if (projected?.length > 0) {
|
|||
Water.water[tileIndex] = Math.min(255, 64 + w);
|
||||
}
|
||||
|
||||
ecs.system('Water').schedule();
|
||||
|
||||
Controlled.locked = 0;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user