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

View File

@ -159,14 +159,12 @@ namespace script
void begin_load_scripts_stub(game::scriptInstance_t inst, int user) 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); game::Scr_BeginLoadScripts(inst, user);
load_scripts();
if (game::Com_IsInGame() && !game::Com_IsRunningUILevel())
{
load_scripts();
}
} }
int server_script_checksum_stub() int server_script_checksum_stub()