Fix handling of animation plays.
This commit is contained in:
parent
2400b57a2c
commit
1349268a80
@ -1087,9 +1087,10 @@ const INTERFACE = {
|
|||||||
if(piece_id !== null) { piece = GAME_DATA.board.pieces[piece_id].clone(); }
|
if(piece_id !== null) { piece = GAME_DATA.board.pieces[piece_id].clone(); }
|
||||||
target = null;
|
target = null;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
INTERFACE_DATA.replay_turn++;
|
GAME_DATA.process(play);
|
||||||
}
|
}
|
||||||
|
INTERFACE_DATA.replay_turn++;
|
||||||
}
|
}
|
||||||
if(animate) {
|
if(animate) {
|
||||||
INTERFACE_DATA.Animate.time = Date.now() + 500;
|
INTERFACE_DATA.Animate.time = Date.now() + 500;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user