mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
#848 remember melee mags after skinchange
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user