Fix error
This commit is contained in:
@@ -45,6 +45,8 @@ public void received(RequestMoveMessage msg, int from){
|
||||
if (occ != null){
|
||||
logic.getGame().getPlayerByColor(occ.getColor()).addWaitingPiece(occ);
|
||||
}
|
||||
logic.getGame().getBoard().getInfield()[logic.getGame().getPlayerByColor(piece.getColor()).getStartNodeIndex()].setOccupant(msg.getPiece());
|
||||
|
||||
this.choosePieceAutomaton.getTurnAutomaton().setCurrentState(this.choosePieceAutomaton.getTurnAutomaton().getMovePieceState());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user