This commit is contained in:
vbawol
2013-05-27 18:36:43 -05:00
parent 42ec759218
commit d3d6397c27
5 changed files with 11 additions and 3 deletions

View File

@@ -149,7 +149,9 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
_isFuel = false;
if (_hasFuelE) then {
_isFuel = (_typeOfCursorTarget in dayz_fuelsources);
{
if(_cursorTarget isKindOf _x) exitWith {_isFuel = true;};
} forEach dayz_fuelsources;
};
// diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));