From b59157e6f55a172fc42a38b83ebccc52ed1f45ca Mon Sep 17 00:00:00 2001 From: Bedshaped Date: Fri, 11 Nov 2016 22:10:35 +0000 Subject: [PATCH] MISTAKE --- code/__HELPERS/time.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/time.dm b/code/__HELPERS/time.dm index 99f2856dd03..afc9b98a251 100644 --- a/code/__HELPERS/time.dm +++ b/code/__HELPERS/time.dm @@ -7,7 +7,7 @@ var/roundstart_hour = 0 //Returns the world time in english proc/worldtime2text(time = world.time) - if(!roundstart_hour) roundstart_hour = rand(0. 23) + if(!roundstart_hour) roundstart_hour = rand(0, 23) return "[(round(time / 36000)+roundstart_hour) % 24]:[(time / 600 % 60) < 10 ? add_zero(time / 600 % 60, 1) : time / 600 % 60]" proc/worldtime2ticks(time = world.time)