Fix doppelganger moves lingering after a player switch/transmog
This commit is contained in:
parent
42dd4b9ce6
commit
6ea46c238c
@ -1500,8 +1500,10 @@ export class Level extends LevelInterface {
|
|||||||
remember_player_move(direction) {
|
remember_player_move(direction) {
|
||||||
if (this.player.type.name === 'player') {
|
if (this.player.type.name === 'player') {
|
||||||
this.player1_move = direction;
|
this.player1_move = direction;
|
||||||
|
this.player2_move = null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
this.player1_move = null;
|
||||||
this.player2_move = direction;
|
this.player2_move = direction;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user