mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
Remove extra fn_selfActions check for refueling. (#1958)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user