From 3662f2de59a4908db49d47c67e37972d40956e16 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Sat, 9 May 2020 22:48:06 -0700 Subject: [PATCH] minor hotfix adding a check if _zm_powerups is loaded --- Configuration Mod/_clientids.gsc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Configuration Mod/_clientids.gsc b/Configuration Mod/_clientids.gsc index 1a14e80..7192203 100644 --- a/Configuration Mod/_clientids.gsc +++ b/Configuration Mod/_clientids.gsc @@ -556,6 +556,10 @@ watch_for_respawn() 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 level.cmPowerupRandomDropChance = getDvarIntDefault( "cmPowerupRandomDropChance", 2 ); //time before a powerup starts to blink and then disappear if not grabbed