From 104a1a10f255d6b65b69f37376f1575b3caee8dd Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 27 Sep 2024 11:23:29 -0500 Subject: [PATCH] CSW / Overheating - Fix 2 func macros (#10344) --- addons/csw/functions/fnc_initVehicle.sqf | 2 +- addons/overheating/functions/fnc_coolWeaponWithWaterSource.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/csw/functions/fnc_initVehicle.sqf b/addons/csw/functions/fnc_initVehicle.sqf index f9cd10dbb1c..1c4660260fd 100644 --- a/addons/csw/functions/fnc_initVehicle.sqf +++ b/addons/csw/functions/fnc_initVehicle.sqf @@ -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 diff --git a/addons/overheating/functions/fnc_coolWeaponWithWaterSource.sqf b/addons/overheating/functions/fnc_coolWeaponWithWaterSource.sqf index 67f22a3cc08..18f8b0f31a3 100644 --- a/addons/overheating/functions/fnc_coolWeaponWithWaterSource.sqf +++ b/addons/overheating/functions/fnc_coolWeaponWithWaterSource.sqf @@ -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; };