diff --git a/README.md b/README.md index 152c97a..5c425ad 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,11 @@ Make your Changes in sem_config.sqf in the root folder of this pbo. - Complete rewritten loot script (scripts\fn_crateLoot.sqf) - Other smaller fixes / changes (don't remember all) -Last Changelog: +Changelog: + +2017-04-02 +- Fixed: Skip Static/Dynamic Missions if all set to disabled (-1 or 0) in Config + 2017-04-01 - Fixed: Dynamic missions were broken, also if in Config activated - Added: Some Options to Bandit Device (sem\missionsStatic\bDevice.sqf) diff --git a/sem.pbo b/sem.pbo index 5689120..32da384 100644 Binary files a/sem.pbo and b/sem.pbo differ diff --git a/sem/scripts/fn_missionController.sqf b/sem/scripts/fn_missionController.sqf index ba3190d..ca513a7 100644 --- a/sem/scripts/fn_missionController.sqf +++ b/sem/scripts/fn_missionController.sqf @@ -23,6 +23,10 @@ private["_this","_x","_forEachIndex"]; }]; }; _missionsArr = _missionsArr - ["delete"]; + if (_missionsArr isequalto []) exitwith { + diag_log format ['#SEM DEBUG: Mission control of %1 Missions skipped. No Missions activated',_missionType]; + }; + if(SEM_debug isEqualTo "full")then{ { _x set [2, (10*60)]