mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Failure test case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user