mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user