Update read_from_file.dm

This commit is contained in:
LetterJay
2017-09-01 11:21:50 -05:00
committed by GitHub
parent e8bb79d7c9
commit 98da910178
@@ -43,7 +43,7 @@ GLOBAL_LIST(custom_item_list)
var/path_str_sep = findtext(item_string, "=")
var/path = copytext(item_string, 1, path_str_sep) //Path to spawn
var/amount = copytext(item_string, path_str_sep+1) //Amount to spawn
world << "DEBUG: Item string [item_string] processed"
//world << "DEBUG: Item string [item_string] processed"
amount = text2num(amount)
path = text2path(path)
if(!ispath(path) || !isnum(amount))