mirror of
https://github.com/open-goal/jak-project
synced 2026-09-11 12:35:25 -04:00
game: pull out single-client logic from XSocketServer
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ void deci2_runner(SystemThreadInterface& iface) {
|
||||
lg::debug("[DECI2] Waiting for listener...");
|
||||
bool saw_listener = false;
|
||||
while (!iface.get_want_exit()) {
|
||||
if (server.wait_for_connection()) {
|
||||
if (server.is_client_connected()) {
|
||||
if (!saw_listener) {
|
||||
lg::debug("[DECI2] Connected!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user