Failure test case

This commit is contained in:
AffectedArc07
2020-07-25 18:20:08 +01:00
parent 35cdc641b2
commit d5b470bc14
2 changed files with 1 additions and 1 deletions
@@ -31,7 +31,7 @@ GLOBAL_DATUM_INIT(_preloader, /datum/dmm_suite/preloader, new())
if(isfile(tfile))
fname = "[tfile]"
// Make sure we dont load a dir up
var/lastchar = copytext(dmm_file, -1)
var/lastchar = copytext(fname, -1)
if(lastchar == "/" || lastchar == "\\")
log_debug("Attempted to load map template without filename (Attempted [tfile])")
return