UI fixes after game end

This commit is contained in:
lieght
2025-12-14 13:30:21 +01:00
parent 34c85ec472
commit 6e2ea82a32

View File

@@ -184,7 +184,7 @@ public final class Server {
gameController = null;
//if (!isPolling) return;
// if (!isPolling) return;
String gameType = extractQuotedValue(response.gameType());
if (response.clientId() == clientId) {
@@ -235,8 +235,9 @@ public final class Server {
}
if (gameController != null) {
primary.reEnableButton();
primary.reEnableButton(); // Re enable subscribe button
gameController.start();
isPolling = true; // Fixes server getting stuck
}
}
}