vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
265 stars 546 forks source link

fix gmt wraparound (negative seconds) on shift duration, no more decimalized seconds on shift duration #36579

Closed nervere closed 4 months ago

nervere commented 4 months ago

What this does

title bug happened because i used world.timeofday instead of world.time world.timeofday is time since 00:00 gmt so if it hid midnight gmt it'd wrap around to the negatives i didnt use world.time initially since the BYOND documentation says that world.time does not increment when no one is on the server, but @DamianX informed me that turned off that feature some years ago (the ability to turn off that feature is not noted in the byond documentation)

fixes #36574 fixes #36549 fixes #36488

Changelog

:cl:

nervere commented 4 months ago

this also removes decimal seconds for a few other things (like the ion remote timer) but, of the other uses, i didn't see anything that would suffer from losing it