mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] Fixes improper calculation of days in round time (#7449)
* Adds parentheses to calculating days in round time (#60716) * Fixes improper calculation of days in round time Co-authored-by: Mokiros <Mokiros@yandex.ru>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define MIDNIGHT_ROLLOVER 864000
|
||||
|
||||
///displays the current time into the round, with a lot of extra code just there for ensuring it looks okay after an entire day passes
|
||||
#define ROUND_TIME ( "[world.time - SSticker.round_start_time > MIDNIGHT_ROLLOVER ? "[round(world.time - SSticker.round_start_time/MIDNIGHT_ROLLOVER)]:[worldtime2text()]" : worldtime2text()]" )
|
||||
#define ROUND_TIME ( "[world.time - SSticker.round_start_time > MIDNIGHT_ROLLOVER ? "[round((world.time - SSticker.round_start_time)/MIDNIGHT_ROLLOVER)]:[worldtime2text()]" : worldtime2text()]" )
|
||||
|
||||
|
||||
#define JANUARY 1
|
||||
|
||||
Reference in New Issue
Block a user