cleanup
This commit is contained in:
parent
9227b6622b
commit
7d33b229c0
@ -158,16 +158,14 @@ 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);
|
game::Scr_BeginLoadScripts(inst, user);
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
game::Scr_BeginLoadScripts(inst, user);
|
if (game::Com_IsInGame() && !game::Com_IsRunningUILevel())
|
||||||
|
{
|
||||||
load_scripts();
|
load_scripts();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int server_script_checksum_stub()
|
int server_script_checksum_stub()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user