Skip to content

Commit

Permalink
CSW / Overheating - Fix 2 func macros (acemod#10344)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Sep 27, 2024
1 parent 225b9f3 commit 104a1a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/csw/functions/fnc_initVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ if (hasInterface && {!(_typeOf in GVAR(initializedStaticTypes))}) then {
private _checkAmmoAction = [QEGVAR(reload,CheckAmmo), LELSTRING(reload,checkAmmo), "", EFUNC(reload,checkAmmo), {
if !((GVAR(ammoHandling) == 0) && {!([false, true, true, GVAR(defaultAssemblyMode)] select (_target getVariable [QGVAR(assemblyMode), 3]))}) exitWith { false };
_this call EFUNC(reload,canCheckAmmo)
}] call ace_interact_menu_fnc_createAction;
}] call EFUNC(interact_menu,createAction);
[_typeOf, 0, ["ACE_MainActions"], _checkAmmoAction] call EFUNC(interact_menu,addActionToClass);

// Add another check ammo action to the ammo handling point
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private _fnc_onFinish = {
] call CBA_fnc_notify;
};

[_player, _player, currentWeapon _player] call ace_overheating_fnc_checkTemperature;
[_player, _player, currentWeapon _player] call FUNC(checkTemperature);
GVAR(coolingWeaponWithWaterSource) = false;
};

Expand Down

0 comments on commit 104a1a1

Please sign in to comment.