diff --git a/cScripts/CavFnc/functions/init/fn_initTagging.sqf b/cScripts/CavFnc/functions/init/fn_initTagging.sqf index 8246c32d3..bc986bac2 100644 --- a/cScripts/CavFnc/functions/init/fn_initTagging.sqf +++ b/cScripts/CavFnc/functions/init/fn_initTagging.sqf @@ -15,6 +15,9 @@ * Public: No */ +if (!isServer) exitWith {}; +if (!isNil{missionNamespace getVariable QEGVAR(mission,tagging)}) exitWith {["Tagging already applied."] call FUNC(logWarning)}; + #ifdef DEBUG_MODE ["Initializing custom spray tags."] call FUNC(logInfo); #endif @@ -47,6 +50,8 @@ "z\cav\addons\textures\data\tagging\icon_action_red_ca.paa" ] call ace_tagging_fnc_addCustomTag; +missionNamespace setVariable [QEGVAR(mission,tagging), true]; + #ifdef DEBUG_MODE ["Custom spray tags initialization complete."] call FUNC(logInfo); #endif