Use RegisterNetworkClient() with --client

This commit is contained in:
Andre Toerien 2025-07-03 23:23:10 +02:00
parent ec34b23688
commit 3332835417
No known key found for this signature in database
GPG key ID: 52218D91FC13009D

View file

@ -1408,7 +1408,7 @@ unsigned int cli_pre_detection(int argc, char* argv[])
std::this_thread::sleep_for(10ms);
}
ResourceManager::get()->GetClients().push_back(client);
ResourceManager::get()->RegisterNetworkClient(client);
cfg_args++;
arg_index++;