Remove extra fn_selfActions check for refueling. (#1958)

This commit is contained in:
oiad
2017-07-30 09:59:52 +12:00
committed by ebayShopper
parent 9b3ccaaa02
commit 09bfddb46c
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ _curFuel = ((fuel _vehicle) * _capacity);
_newFuel = (_curFuel + _canSize);
_fueling = player getVariable ["fueling",false];
if (fuel _vehicle == 1) exitWith {dayz_actionInProgress = false;};
if (fuel _vehicle == 1 || !(_canType in magazines player)) exitWith {dayz_actionInProgress = false;};
player removeAction s_player_fillfuel + _capacity;
player setVariable ["fueling", true];