Add secondary update to biome pool loading (#2157)
This commit is contained in:
parent
f18dcde490
commit
448096db33
|
@ -55,6 +55,10 @@ export class Arena {
|
||||||
this.scene.arenaNextEnemy.setBiome(this.biomeType);
|
this.scene.arenaNextEnemy.setBiome(this.biomeType);
|
||||||
this.scene.arenaBg.setTexture(`${biomeKey}_bg`);
|
this.scene.arenaBg.setTexture(`${biomeKey}_bg`);
|
||||||
this.scene.arenaBgTransition.setTexture(`${biomeKey}_bg`);
|
this.scene.arenaBgTransition.setTexture(`${biomeKey}_bg`);
|
||||||
|
|
||||||
|
// Redo this on initialise because during save/load the current wave isn't always
|
||||||
|
// set correctly during construction
|
||||||
|
this.updatePoolsForTimeOfDay();
|
||||||
}
|
}
|
||||||
|
|
||||||
updatePoolsForTimeOfDay(): void {
|
updatePoolsForTimeOfDay(): void {
|
||||||
|
|
Loading…
Reference in New Issue