Fix for missionside conflict with missioncounter

Thx to Doob @Nexcorvus for pointing this out and working through the
issues :)
This commit is contained in:
DonkeyPunchINFO 2016-04-09 11:00:27 -05:00
parent 1e301e8cb6
commit 41b90bdff5

View File

@ -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;
}