From 28b4f9edf7bec9e6485d2197a161ff3928cf4432 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Sat, 25 Jul 2020 02:28:53 -0700 Subject: [PATCH] minor fix for _zm_pers_upgrades_functions --- patch_zm/maps/mp/zombies/_zm_pers_upgrades_functions.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch_zm/maps/mp/zombies/_zm_pers_upgrades_functions.gsc b/patch_zm/maps/mp/zombies/_zm_pers_upgrades_functions.gsc index a814843..b2c7222 100644 --- a/patch_zm/maps/mp/zombies/_zm_pers_upgrades_functions.gsc +++ b/patch_zm/maps/mp/zombies/_zm_pers_upgrades_functions.gsc @@ -1042,7 +1042,7 @@ pers_treasure_chest_choosespecialweapon( player ) //checked changed to match cer { player.pers_magic_box_weapon_count = 0; } - if ( player.pers_magic_box_weapon_count < 2 && player.pers_magic_box_weapon_count == 0 || rval < 0.6 ) + if ( ( player.pers_magic_box_weapon_count == 0 || rval < 0.6 ) && player.pers_magic_box_weapon_count < 2 ) { player.pers_magic_box_weapon_count++; if ( isDefined( level.pers_treasure_chest_get_weapons_array_func ) )