mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Additional Folders/Files in System
This commit is contained in:
13
SQF/dayz_code/system/scheduler/sched_newDay.sqf
Normal file
13
SQF/dayz_code/system/scheduler/sched_newDay.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
#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
|
||||
};
|
||||
Reference in New Issue
Block a user