Files
DayZ-Epoch/SQF/dayz_code/system/scheduler/sched_newDay.sqf
2016-02-27 22:34:50 -05:00

14 lines
235 B
Plaintext

#include "scheduler.hpp"
sched_newDay = {
HIDE_FSM_VARS
private "_day";
_day = round(360 * (dateToNumber date));
if(dayz_currentDay != _day) then {
dayz_sunRise = call world_sunRise;
dayz_currentDay = _day;
};
objNull
};