Skip to content

Commit

Permalink
Rearm - Fix actions not being added immeditately (#9843)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 authored Mar 9, 2024
1 parent f1488c9 commit d7e5ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/rearm/functions/fnc_initSupplyVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (!alive _vehicle) exitWith {};

private _configSupply = getNumber (_configOf >> QGVAR(defaultSupply));
if (_configSupply == 0) then {
_configSupply = getNumber (_config >> "transportAmmo");
_configSupply = getNumber (_configOf >> "transportAmmo");
};
private _isSupplyVehicle = _vehicle getVariable [QGVAR(isSupplyVehicle), false];
private _oldRearmConfig = isClass (_configOf >> "ACE_Actions" >> "ACE_MainActions" >> QGVAR(takeAmmo));
Expand Down

0 comments on commit d7e5ea4

Please sign in to comment.