mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update fn_sunRise.sqf
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
Reference:
|
Reference:
|
||||||
http://forums.bistudio.com/showthread.php?107476-How-do-I-detect-sundown-sunrise
|
http://forums.bistudio.com/showthread.php?107476-How-do-I-detect-sundown-sunrise
|
||||||
*/
|
*/
|
||||||
private["_daytime"];
|
private["_lat","_day","_hour","_daytime"];
|
||||||
|
|
||||||
_lat = -1 * getNumber(configFile >> "CfgWorlds" >> worldName >> "latitude");
|
_lat = -1 * getNumber(configFile >> "CfgWorlds" >> worldName >> "latitude");
|
||||||
_day = 360 * (dateToNumber date);
|
_day = 360 * (dateToNumber date);
|
||||||
|
|||||||
Reference in New Issue
Block a user