diff --git a/src/main/java/uta/cse3310/App.java b/src/main/java/uta/cse3310/App.java index 65ffc3e..6615bca 100644 --- a/src/main/java/uta/cse3310/App.java +++ b/src/main/java/uta/cse3310/App.java @@ -123,12 +123,6 @@ public void onClose(WebSocket conn, int code, String reason, boolean remote) { activeGames.remove(game); } } - - // Reset the connectionId if no active games are left - if (activeGames.isEmpty()) { - connectionId = 0; - System.out.println("No active games left. Resetting connectionId to 0."); - } } @Override