Fixes an error

This commit is contained in:
Yoshax
2016-04-20 15:36:13 +01:00
parent a3f8bc815e
commit 26192e2b32
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ var/round_start_time = 0
/hook/roundstart/proc/start_timer()
round_start_time = world.time
return 1
#define round_duration_in_ticks (round_start_time ? world.time - round_start_time : 0)
+4
View File
@@ -422,6 +422,10 @@ var/world_topic_spam_protect_time = world.timeofday
return 1
/world/proc/load_mode()
if(!fexists("data/mode.txt"))
return
var/list/Lines = file2list("data/mode.txt")
if(Lines.len)
if(Lines[1])