Update fn_sunRise.sqf

This commit is contained in:
F507DMT
2021-04-21 22:40:36 +06:00
committed by GitHub
parent d6b4812de7
commit 49c5403031

View File

@@ -14,7 +14,7 @@
Reference:
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");
_day = 360 * (dateToNumber date);