world fix

This commit is contained in:
LetterJay
2017-04-25 01:52:49 -05:00
parent 607868a5de
commit 3d51a07243
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -69,11 +69,11 @@
else
. = "0" + .
i++
return .
names.dmnames.dm
//Splits the text of a file at seperator and returns them in a list.
/proc/file2list(filename, seperator="\n")
return splittext(file2text(filename),seperator)
/world/proc/file2list(filename, seperator="\n")
return splittext(file2text(filename),seperator)
//Turns a direction into text
+1 -1
View File
@@ -62,7 +62,7 @@ SUBSYSTEM_DEF(ticker)
var/modevoted = FALSE //Have we sent a vote for the gamemode?
/datum/controller/subsystem/ticker/Initialize(timeofday)
var/list/music = file2list(ROUND_START_MUSIC_LIST, "\n")
var/list/music = world.file2list(ROUND_START_MUSIC_LIST, "\n")
login_music = pick(music)
if(!GLOB.syndicate_code_phrase)
+2 -2
View File
@@ -6,9 +6,9 @@
var/date
/datum/getrev/New()
var/head_file = file2text(".git/logs/HEAD")
var/head_file = file2text(".git/logs/HEAD")
if(SERVERTOOLS && fexists("..\\prtestjob.lk"))
var/list/tmp = file2list("..\\prtestjob.lk")
var/list/tmp = world.file2list("..\\prtestjob.lk")
for(var/I in tmp)
if(I)
testmerge |= I