diff --git a/src/components/farm/Board.jsx b/src/components/farm/Board.jsx index 97ce073..81884e0 100644 --- a/src/components/farm/Board.jsx +++ b/src/components/farm/Board.jsx @@ -903,6 +903,12 @@ class Moving extends React.Component { clearInterval(this.timerId); this.timerId = false; } + // if another player skips movement + if (this.state.currentPos !== this.endPos) { + this.props.movePlayer(this.endPos, + this.state.currentPos, + this.color); + } } tick() {