Skip to content

Commit

Permalink
Fix round time
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jun 6, 2024
1 parent dc277a4 commit 418a8b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 418a8b5

Please sign in to comment.