summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/network/NetworkControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/network/NetworkControl.java')
-rw-r--r--src/jrummikub/control/network/NetworkControl.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/jrummikub/control/network/NetworkControl.java b/src/jrummikub/control/network/NetworkControl.java
index b6dc27e..ed2c8e6 100644
--- a/src/jrummikub/control/network/NetworkControl.java
+++ b/src/jrummikub/control/network/NetworkControl.java
@@ -36,11 +36,6 @@ public class NetworkControl {
public void handle() {
view.getGameListPanel().setChannelName(loginData.getChannelName());
view.showGameListPanel(true);
-
- GameData testData = new GameData(UUID.randomUUID(), "NeoRaider");
- testData.setCurrentPlayerCount(2);
- testData.setMaxPlayerCount(4);
-
}
}));
@@ -63,8 +58,7 @@ public class NetworkControl {
game = value;
gameMap.put(value.getGameID(), value);
} else {
- game.setCurrentPlayerCount(value.getCurrentPlayerCount());
- game.setMaxPlayerCount(value.getMaxPlayerCount());
+ game.setGameSettings(value.getGameSettings());
}
view.getGameListPanel().addGame(game);