mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-09 02:17:51 -05:00
minor fix for _zm_pers_upgrades_functions
This commit is contained in:
parent
ed0c423727
commit
28b4f9edf7
@ -1042,7 +1042,7 @@ pers_treasure_chest_choosespecialweapon( player ) //checked changed to match cer
|
|||||||
{
|
{
|
||||||
player.pers_magic_box_weapon_count = 0;
|
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++;
|
player.pers_magic_box_weapon_count++;
|
||||||
if ( isDefined( level.pers_treasure_chest_get_weapons_array_func ) )
|
if ( isDefined( level.pers_treasure_chest_get_weapons_array_func ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user