Change check to event array

This commit is contained in:
worldwidesorrow
2019-11-25 12:05:09 -06:00
committed by GitHub
parent 5c52fd36e4
commit f887d9c8d2

View File

@@ -51,10 +51,8 @@ sched_event = {
_lastTime = _datestr;
//diag_log ("EVENTS: Local Time is: " + _datestr);
if (count EpochEvents == 0) exitWith {};
{
if (!EpochUseEvents) exitWith {};
if (typeName _x == "ARRAY") then {
// Run event at server start when minutes are set to -1