fixed issue 219

This commit is contained in:
BetaSteward 2011-08-30 09:01:18 -04:00
parent 7418d201e4
commit 12d3b974d0
2 changed files with 5 additions and 0 deletions

View file

@ -215,6 +215,7 @@ public class GameSession extends GameWatcher {
list.add(new LookedAtView(entry.getKey(), entry.getValue(), game));
}
gameView.setLookedAt(list);
game.getState().clearLookedAt();
return gameView;
}

View file

@ -229,6 +229,10 @@ public class GameState implements Serializable, Copyable<GameState> {
return lookedAt.get(playerId);
}
public void clearLookedAt() {
lookedAt.clear();
}
public Turn getTurn() {
return turn;
}