if (player == null || player.hasLeft()) {
logger.debug("Player already left " + (player != null ? player.getName():playerId));
return;
}
logger.debug("Start leave game: " + player.getName());
player.leave();
if (checkIfGameIsOver()) {
// no need to remove objects if only one player is left so the game is over
return;
}
//20100423 - 800.4a