add cp_mp to script loading
This commit is contained in:
parent
61d2fe06f3
commit
d7b972f3d9
@ -315,6 +315,11 @@ namespace gsc
|
||||
load_scripts(path, "scripts/"); // meant to override stock GSC
|
||||
load_scripts(path, "custom_scripts/"); // for no issues, use custom_scripts/
|
||||
load_scripts(path, "custom_scripts/"s + game::Com_GameMode_GetActiveGameModeStr() + "/");
|
||||
|
||||
if (game::Com_GameMode_GetActiveGameMode() == game::GAME_MODE_CP || game::Com_GameMode_GetActiveGameMode() == game::GAME_MODE_MP)
|
||||
{
|
||||
load_scripts(path, "custom_scripts/cp_mp/");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user