mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
The maploader now yells when you give it a bad path or empty file
This commit is contained in:
@@ -43,6 +43,8 @@ var/global/dmm_suite/preloader/_preloader = new
|
||||
if(isfile(tfile))
|
||||
fname = "[tfile]"
|
||||
tfile = file2text(tfile)
|
||||
if(length(tfile) == 0)
|
||||
throw EXCEPTION("Map path '[fname]' does not exist!")
|
||||
|
||||
if(!x_offset)
|
||||
x_offset = 1
|
||||
|
||||
Reference in New Issue
Block a user