This commit is contained in:
icomrade
2017-07-29 21:09:26 -04:00
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];