mirror of
https://github.com/JezuzLizard/Public-BO2-Mods.git
synced 2025-06-08 02:58:24 -05:00
minor hotfix adding a check if _zm_powerups is loaded
This commit is contained in:
parent
cae8522d45
commit
3662f2de59
@ -556,6 +556,10 @@ watch_for_respawn()
|
|||||||
|
|
||||||
init_custom_zm_powerups_gsc_exclusive_dvars()
|
init_custom_zm_powerups_gsc_exclusive_dvars()
|
||||||
{
|
{
|
||||||
|
if ( !level.custom_zm_powerups_loaded )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
//%chance that a powerup will drop everytime a zombie is killed
|
//%chance that a powerup will drop everytime a zombie is killed
|
||||||
level.cmPowerupRandomDropChance = getDvarIntDefault( "cmPowerupRandomDropChance", 2 );
|
level.cmPowerupRandomDropChance = getDvarIntDefault( "cmPowerupRandomDropChance", 2 );
|
||||||
//time before a powerup starts to blink and then disappear if not grabbed
|
//time before a powerup starts to blink and then disappear if not grabbed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user