mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Fixes the adhomian watch (#11978)
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
current_day += 61
|
||||
if(3)
|
||||
current_day += 59 + isLeap(text2num(time2text(world.realtime, "YYYY"))) // we can conveniently use the result of `isLeap` to add 1 when we are in a leap year
|
||||
var/real_time = text2num(time2text(world.time + (roundstart_hour HOURS), "hh"))
|
||||
var/real_time = text2num(time2text(world.time + (REALTIMEOFDAY - (TIME_OFFSET HOURS)), "hh"))
|
||||
var/adhomian_time = real_time
|
||||
if(ISEVEN(current_day))
|
||||
adhomian_time = real_time + 24
|
||||
|
||||
Reference in New Issue
Block a user