From a4831786d4b9127eacede8878e50faa6cacdde68 Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Thu, 18 Apr 2024 11:27:06 +0200 Subject: [PATCH] Fixed minor formating and cleaned documentation --- cScripts/functions/gear/fn_gear_getLoadoutName.sqf | 1 - cScripts/functions/gear/fn_gear_getSideConfig.sqf | 1 + cScripts/functions/gear/fn_gear_preInit.sqf | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cScripts/functions/gear/fn_gear_getLoadoutName.sqf b/cScripts/functions/gear/fn_gear_getLoadoutName.sqf index f41f82191..53b55a677 100644 --- a/cScripts/functions/gear/fn_gear_getLoadoutName.sqf +++ b/cScripts/functions/gear/fn_gear_getLoadoutName.sqf @@ -17,7 +17,6 @@ params [["_unit", objNull, [objNull]]]; - private _return = GETVAR(_unit,EGVAR(Gear,loadoutClass), typeOf _unit); _return \ No newline at end of file diff --git a/cScripts/functions/gear/fn_gear_getSideConfig.sqf b/cScripts/functions/gear/fn_gear_getSideConfig.sqf index b2992e12e..f2a460c6e 100644 --- a/cScripts/functions/gear/fn_gear_getSideConfig.sqf +++ b/cScripts/functions/gear/fn_gear_getSideConfig.sqf @@ -14,6 +14,7 @@ * [independent] call cScripts_fnc_gear_getSideConfig * */ + params ["_side"]; switch (_side) do { diff --git a/cScripts/functions/gear/fn_gear_preInit.sqf b/cScripts/functions/gear/fn_gear_preInit.sqf index 39ac65243..aa8ebdb66 100644 --- a/cScripts/functions/gear/fn_gear_preInit.sqf +++ b/cScripts/functions/gear/fn_gear_preInit.sqf @@ -10,7 +10,7 @@ * nothing * * Example: - * call cScripts_fnc_gear_postInit + * call cScripts_fnc_gear_preInit * */