1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Ensure the net client doesn't do evil stuff before we're launched

This commit is contained in:
2015-07-31 16:07:03 -04:00
parent e1befa63f9
commit e48a98bcf4
2 changed files with 2 additions and 2 deletions

View File

@ -1427,7 +1427,7 @@ bool plClient::StartInit()
//
// Init Net before loading things
//
plNetClientMgr::GetInstance()->Init();
plNetClientMgr::GetInstance()->RegisterAs(kNetClientMgr_KEY);
plAgeLoader::GetInstance()->Init();
plCmdIfaceModMsg* pModMsg2 = new plCmdIfaceModMsg;
@ -1463,6 +1463,7 @@ bool plClient::StartInit()
//============================================================================
bool plClient::BeginGame()
{
plNetClientMgr::GetInstance()->Init();
IPlayIntroMovie("avi/CyanWorlds.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75);
if (GetDone()) return false;
IPatchGlobalAgeFiles();