mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update player_unlockVault.sqf
Fixed infinite chainsaw fuel when put into vaults/lockboxes.
This commit is contained in:
@@ -120,8 +120,12 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
_objWpnQty = _backpacks select 1;
|
_objWpnQty = _backpacks select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
|
||||||
_countr = _countr + 1;
|
if( _x != "CSGAS" ) then
|
||||||
|
{
|
||||||
|
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
|
_countr = _countr + 1;
|
||||||
|
};
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -141,4 +145,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user