Merge pull request #1130 from SilvDev/patch-1

Update player_unlockVault.sqf
This commit is contained in:
vbawol
2014-02-15 14:56:37 -06:00

View File

@@ -109,8 +109,11 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
_objWpnQty = _magazines select 1; _objWpnQty = _magazines select 1;
_countr = 0; _countr = 0;
{ {
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)]; if( _x != "CSGAS" ) then
_countr = _countr + 1; {
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
};
} forEach _objWpnTypes; } forEach _objWpnTypes;
}; };
@@ -141,4 +144,4 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
cutText [format[(localize "str_epoch_player_126"),_text], "PLAIN DOWN"]; cutText [format[(localize "str_epoch_player_126"),_text], "PLAIN DOWN"];
}; };
s_player_unlockvault = -1; s_player_unlockvault = -1;
DZE_ActionInProgress = false; DZE_ActionInProgress = false;