Use RegisterNetworkClient() with --client
This commit is contained in:
parent
ec34b23688
commit
3332835417
1 changed files with 1 additions and 1 deletions
2
cli.cpp
2
cli.cpp
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue