Skip to content

Commit 2eff024

Browse files
committed
Properly fix Spikes disappearing on replay
Fixes #2269
1 parent 5411a97 commit 2eff024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

play.pokemonshowdown.com/src/battle-animations.ts

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export class BattleScene implements BattleSceneStub {
160160

161161
this.$sprites = [$('<div></div>'), $('<div></div>')];
162162
this.$spritesFront = [$('<div></div>'), $('<div></div>')];
163+
this.sideConditions = [{}, {}];
163164

164165
this.$sprite.append(this.$sprites[1]);
165166
this.$sprite.append(this.$spritesFront[1]);

0 commit comments

Comments
 (0)