diff --git a/_maps/map_files/shuttles/emergency_clown.dmm b/_maps/map_files/shuttles/break.dmm similarity index 100% rename from _maps/map_files/shuttles/emergency_clown.dmm rename to _maps/map_files/shuttles/break.dmm diff --git a/code/modules/awaymissions/maploader/reader.dm b/code/modules/awaymissions/maploader/reader.dm index 4c448e6416b..f034c4f39d1 100644 --- a/code/modules/awaymissions/maploader/reader.dm +++ b/code/modules/awaymissions/maploader/reader.dm @@ -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