mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rearm - Fix actions not being added immeditately (#9843)
This commit is contained in:
parent
f1488c9c88
commit
d7e5ea4898
@ -33,7 +33,7 @@ if (!alive _vehicle) exitWith {};
|
|||||||
|
|
||||||
private _configSupply = getNumber (_configOf >> QGVAR(defaultSupply));
|
private _configSupply = getNumber (_configOf >> QGVAR(defaultSupply));
|
||||||
if (_configSupply == 0) then {
|
if (_configSupply == 0) then {
|
||||||
_configSupply = getNumber (_config >> "transportAmmo");
|
_configSupply = getNumber (_configOf >> "transportAmmo");
|
||||||
};
|
};
|
||||||
private _isSupplyVehicle = _vehicle getVariable [QGVAR(isSupplyVehicle), false];
|
private _isSupplyVehicle = _vehicle getVariable [QGVAR(isSupplyVehicle), false];
|
||||||
private _oldRearmConfig = isClass (_configOf >> "ACE_Actions" >> "ACE_MainActions" >> QGVAR(takeAmmo));
|
private _oldRearmConfig = isClass (_configOf >> "ACE_Actions" >> "ACE_MainActions" >> QGVAR(takeAmmo));
|
||||||
|
Loading…
Reference in New Issue
Block a user