#848 remember melee mags after skinchange

This commit is contained in:
HARLAN
2013-12-06 11:36:04 -05:00
parent a27ce9a5a4
commit 434cea2555

View File

@@ -90,6 +90,13 @@ player allowDamage true;
player addWeapon "Loot";
player addWeapon "Flare";
//melee check
_wpnType = primaryWeapon player;
_ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee"));
if (_ismelee == "true") then {
call dayz_meleeMagazineCheck;
};
sleep 0.1;
if (!isNull _old) then {