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(); }
|
||||
target = null;
|
||||
}
|
||||
|
||||
INTERFACE_DATA.replay_turn++;
|
||||
} else {
|
||||
GAME_DATA.process(play);
|
||||
}
|
||||
INTERFACE_DATA.replay_turn++;
|
||||
}
|
||||
if(animate) {
|
||||
INTERFACE_DATA.Animate.time = Date.now() + 500;
|
||||
|
Loading…
x
Reference in New Issue
Block a user