* Fixed that game name for menu works also for watching games.

This commit is contained in:
LevelX2 2014-06-25 12:28:43 +02:00
parent c519814f03
commit 6c6d12f40f
2 changed files with 14 additions and 5 deletions

View file

@ -77,7 +77,7 @@ public class GamePane extends MagePane {
public void watchGame(UUID gameId) {
this.setTitle("Watching " + gameId);
this.gameId = gameId;
gamePanel.watchGame(gameId);
gamePanel.watchGame(gameId, this);
}
public void replayGame(UUID gameId) {