From 57e84644246bf5d731e6020310036a8f3474c047 Mon Sep 17 00:00:00 2001 From: jonpas Date: Mon, 2 Jan 2023 23:48:16 +0100 Subject: [PATCH] Mission - Move mission type verification to template --- addons/mission/XEH_postInit.sqf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/addons/mission/XEH_postInit.sqf b/addons/mission/XEH_postInit.sqf index d36d139a..206ff45b 100644 --- a/addons/mission/XEH_postInit.sqf +++ b/addons/mission/XEH_postInit.sqf @@ -1,11 +1,5 @@ #include "script_component.hpp" -// Verify mission type is correct -private _missionType = getMissionConfigValue ["tac_type", -1]; -if (_missionType == -1 || {_missionType >= count MISSION_TYPES}) exitWith { - ERROR_MSG_2("Invalid mission type %1! Expected 0-%2",_missionType,count MISSION_TYPES - 1); -}; - // Exit if not player client if (!hasInterface) exitWith {};