mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-29 11:24:19 +01:00
Fixed "late" load parameter always being true in VSP mode (bug 3532, r=ds).
This commit is contained in:
parent
04f5af1828
commit
cc2234ba88
@ -303,8 +303,6 @@ bool AlternatelyLoadMetamod(CreateInterfaceFn ifaceFactory, CreateInterfaceFn se
|
||||
return false;
|
||||
}
|
||||
|
||||
g_PluginMngr.SetAllLoaded();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -317,7 +315,10 @@ bool GameInit_handler()
|
||||
g_SmmAPI.LoadAsVSP();
|
||||
|
||||
if (g_bIsBridgedAsVsp)
|
||||
{
|
||||
DoInitialPluginLoads();
|
||||
g_PluginMngr.SetAllLoaded();
|
||||
}
|
||||
|
||||
g_bGameInit = true;
|
||||
|
||||
|
@ -577,8 +577,8 @@ Handler_LevelShutdown(void)
|
||||
{
|
||||
if (g_bIsVspBridged && !were_plugins_loaded)
|
||||
{
|
||||
g_PluginMngr.SetAllLoaded();
|
||||
DoInitialPluginLoads();
|
||||
g_PluginMngr.SetAllLoaded();
|
||||
were_plugins_loaded = true;
|
||||
in_first_level = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user