Fix doppelganger moves lingering after a player switch/transmog

This commit is contained in:
Eevee (Evelyn Woods) committed 2020-12-21 00:29:14 -07:00
1 parent 42dd4b9ce6
commit 6ea46c238c
1 file changed
+2
+2
View File
@@ -1500,8 +1500,10 @@ export class Level extends LevelInterface {
remember_player_move(direction) {
if (this.player.type.name === 'player') {
this.player1_move = direction;
this.player2_move = null;
}
else {
this.player1_move = null;
this.player2_move = direction;
}
}