This commit is contained in:
m 2023-05-16 04:49:47 -05:00
parent 9227b6622b
commit 7d33b229c0

View File

@ -158,16 +158,14 @@ namespace script
}
void begin_load_scripts_stub(game::scriptInstance_t inst, int user)
{
if (!game::Com_IsInGame() || game::Com_IsRunningUILevel())
{
game::Scr_BeginLoadScripts(inst, user);
return;
}
game::Scr_BeginLoadScripts(inst, user);
if (game::Com_IsInGame() && !game::Com_IsRunningUILevel())
{
load_scripts();
}
}
int server_script_checksum_stub()
{