mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 18:29:34 +03:00
Change check to event array
This commit is contained in:
1 parent
5c52fd36e4
commit
f887d9c8d2
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user