diff --git a/main.cpp b/main.cpp index f76e3b73..78780aec 100644 --- a/main.cpp +++ b/main.cpp @@ -126,7 +126,7 @@ bool AttemptLocalConnection() } else { - ResourceManager::get()->GetClients().push_back(client); + ResourceManager::get()->RegisterNetworkClient(client); success = true; }