From 41b90bdff51658c9a9326ffff6e0c329496f6e6c Mon Sep 17 00:00:00 2001 From: DonkeyPunchINFO Date: Sat, 9 Apr 2016 11:00:27 -0500 Subject: [PATCH] Fix for missionside conflict with missioncounter Thx to Doob @Nexcorvus for pointing this out and working through the issues :) --- .../addons/a3_dms/scripts/fn_MissionsMonitor_Dynamic.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@ExileServer/addons/a3_dms/scripts/fn_MissionsMonitor_Dynamic.sqf b/@ExileServer/addons/a3_dms/scripts/fn_MissionsMonitor_Dynamic.sqf index e4856aa..ba523a3 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_MissionsMonitor_Dynamic.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_MissionsMonitor_Dynamic.sqf @@ -82,8 +82,8 @@ private ["_pos", "_completionInfo", "_timeStarted", "_failTime", "_units", "_bui if (_completionInfo call DMS_fnc_MissionSuccessState) then { DMS_CleanUpList pushBack [_buildings,diag_tickTime,DMS_CompletedMissionCleanupTime]; - - if (_missionSide == "bandit") then + _missionTypes = ["bandit","hero","survivor"]; + if (_missionSide in _missionTypes) then { DMS_RunningBMissionCount = DMS_RunningBMissionCount - 1; }