- Fixed: Skip Static/Dynamic Missions if all set to disabled (-1 or 0)
in Config
This commit is contained in:
He-Man 2017-04-02 17:15:19 +02:00
parent 54a5618ecc
commit 2ea61c12d1
3 changed files with 9 additions and 1 deletions

View File

@ -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) - Complete rewritten loot script (scripts\fn_crateLoot.sqf)
- Other smaller fixes / changes (don't remember all) - 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 2017-04-01
- Fixed: Dynamic missions were broken, also if in Config activated - Fixed: Dynamic missions were broken, also if in Config activated
- Added: Some Options to Bandit Device (sem\missionsStatic\bDevice.sqf) - Added: Some Options to Bandit Device (sem\missionsStatic\bDevice.sqf)

BIN
sem.pbo

Binary file not shown.

View File

@ -23,6 +23,10 @@ private["_this","_x","_forEachIndex"];
}]; }];
}; _missionsArr = _missionsArr - ["delete"]; }; _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{ if(SEM_debug isEqualTo "full")then{
{ {
_x set [2, (10*60)] _x set [2, (10*60)]