mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Fixes an error
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user