From 2ea61c12d14f4ce2be401695d8cfd813e3967670 Mon Sep 17 00:00:00 2001 From: He-Man Date: Sun, 2 Apr 2017 17:15:19 +0200 Subject: [PATCH] Update - Fixed: Skip Static/Dynamic Missions if all set to disabled (-1 or 0) in Config --- README.md | 6 +++++- sem.pbo | Bin 170949 -> 171116 bytes sem/scripts/fn_missionController.sqf | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) 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 568912049eaadb7436423548410ecd0b4c3c6f11..32da3847fe726f6f9817a255cab882ce310f2425 100644 GIT binary patch delta 181 zcmX@Qo$JjGt_`lNyt@P$z(COOVZ^THAlB_ctc*uy@+oM<=VlfcXXfV>I~Em9&uU|o zo4$BCqhNx%aewu=+AxyMbp*TCUpdd9xPr)xA zA()t4l3A8mlA5Bf1G6HevLH3qnwN`{v(|b$&wR$Ee?%TWS9uX>u_C5o_Mh#aPj_9u Ir1A0(0P>4OG5`Po delta 63 zcmaE}gX`#at_`lNyuyMEV9@^YeuQvy5bO3JR>mVUCkII=ZofC5vFeY=m95$Z^Icif Re({{Tn^P?MoNEEgGyv7(7=!=- 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)]