Skip to content

Commit

Permalink
Merge pull request #1523 from Vdauphin/Fix-fuelsource_interaction
Browse files Browse the repository at this point in the history
FIX: Fuel source interaction appear twice
  • Loading branch information
Vdauphin authored Oct 20, 2023
2 parents c06d945 + acbbab7 commit 25552a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (_fuelSource isNotEqualTo []) then {
[_vehicle, _fuelCargo, _hooks] call ace_refuel_fnc_makeSource;
} else {
if (_fuelCargo != [_vehicle] call ace_refuel_fnc_getFuel) then {
[_vehicle, _fuelCargo] call ace_refuel_fnc_makeSource;
[_vehicle, _fuelCargo] call ace_refuel_fnc_setFuel;
};
};
_vehicle setVariable ["btc_EDEN_defaultFuelCargo", _defaultFuelCargo, true];
Expand Down

0 comments on commit 25552a8

Please sign in to comment.