Some small changes for Release 1.0.3

This commit is contained in:
LevelX2 2013-07-21 09:45:58 +02:00
parent a6fae2a38a
commit 2e5fc5fc98
4 changed files with 8 additions and 4 deletions

View file

@ -710,6 +710,7 @@ public class GameController implements GameCallback {
private void sendMessage(UUID userId, Command command) {
final UUID playerId = userPlayerMap.get(userId);
// player has game under control (is not cotrolled by other player)
if (game.getPlayer(playerId).isGameUnderControl()) {
// if it's your priority (or game not started yet in which case it will be null)
// then execute only your action