From cdae9b1e789d348f4d87a00f53281fffe79fd2af Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 21 May 2021 19:24:57 -0500 Subject: [PATCH] Fix client registration for auto-detected local server --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }