mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
14 lines
235 B
Plaintext
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
|
|
};
|