From b8cb37af2acd5832a12de56a5dbf4bd9d158f599 Mon Sep 17 00:00:00 2001 From: "elly1989@rocketmail.com" Date: Sat, 10 Nov 2012 21:26:27 +0000 Subject: [PATCH] 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 --- code/modules/admin/topic.dm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index cc2a59ad80f..17780619fbe 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1372,7 +1372,7 @@ dat += "
NOTE: this screen currently does nothing
" 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,18 +1410,15 @@ 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) alert("The path list you sent is empty") return - if (length(paths) > 5) + if(length(paths) > 5) alert("Select fewer object types, (max 5)") return - else if (length(removed_paths)) + else if(length(removed_paths)) alert("Removed:\n" + dd_list2text(removed_paths, "\n")) var/list/offset = text2list(href_list["offset"],",")