Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Round Time Offset #6384

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading