From 418a8b56a081901fd4946dcc150a3464f8846e7c Mon Sep 17 00:00:00 2001 From: Drulikar Date: Wed, 5 Jun 2024 17:40:46 -0700 Subject: [PATCH] Fix round time --- code/game/world.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/world.dm b/code/game/world.dm index 6a792d1a4e41..350117eccf7b 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -69,7 +69,10 @@ GLOBAL_LIST_INIT(reboot_sfx, file2list("config/reboot_sfx.txt")) initiate_minimap_icons() change_tick_lag(CONFIG_GET(number/ticklag)) - GLOB.timezoneOffset = text2num(time2text(0,"hh")) * 36000 + + // As of byond 515.1637 time2text now treats 0 like it does negative numbers so the hour is wrong + // We could instead use world.timezone but IMO better to not assume lummox will keep time2text in parity with it + GLOB.timezoneOffset = text2num(time2text(10,"hh")) * 36000 Master.Initialize(10, FALSE, TRUE)