mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Change check to event array
This commit is contained in:
@@ -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