Fixed the mob-spawning panel which is accessible via the game-panel. Credits to BurZeZ

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5033 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-11-10 21:26:27 +00:00
parent 35cac8aefc
commit b8cb37af2a

View File

@@ -1372,7 +1372,7 @@
dat += "<br>NOTE: this screen currently does nothing<br>"
usr << browse(dat, "window=prom_demot;size=480x300")
else if(href_list["object_list"])
else if(href_list["object_list"]) //this is the laggiest thing ever
if(!check_rights(R_SPAWN)) return
if(!config.allow_admin_spawning)
@@ -1410,9 +1410,6 @@
if(!check_rights(R_FUN,0))
removed_paths += dirty_path
continue
else if(ispath(path, /mob))
removed_paths += dirty_path
continue
paths += path
if(!paths)