[s]Exploit whack-a-mole

This commit is contained in:
CitadelStationBot
2017-04-25 01:31:50 -05:00
parent d0c28c0d51
commit 607868a5de
16 changed files with 66 additions and 36 deletions
+3 -3
View File
@@ -291,7 +291,7 @@
GLOB.abandon_allowed = respawn
/datum/configuration/proc/load(filename, type = "config") //the type can also be game_options, in which case it uses a different switch. not making it separate to not copypaste code - Urist
var/list/Lines = file2list(filename)
var/list/Lines = world.file2list(filename)
for(var/t in Lines)
if(!t)
@@ -785,7 +785,7 @@
/datum/configuration/proc/loadmaplist(filename)
var/list/Lines = file2list(filename)
var/list/Lines = world.file2list(filename)
var/datum/map_config/currentmap = null
for(var/t in Lines)
@@ -835,7 +835,7 @@
/datum/configuration/proc/loadsql(filename)
var/list/Lines = file2list(filename)
var/list/Lines = world.file2list(filename)
for(var/t in Lines)
if(!t)
continue