Reduction of admin right-click verbs.

Removes verbs which only works on specific mob types from the admin right-click context.
Fixes #9627.
Fixes #9628.
This commit is contained in:
PsiOmegaDelta
2015-06-02 14:20:14 +02:00
parent d8abb581e8
commit fcb0841646
6 changed files with 53 additions and 37 deletions

View File

@@ -1236,7 +1236,7 @@ var/global/floorIsLava = 0
if(!ai_number)
usr << "<b>No AIs located</b>" //Just so you know the thing is actually working and not just ignoring you.
/datum/admins/proc/show_skills(var/mob/living/carbon/human/M as mob in world)
/datum/admins/proc/show_skills()
set category = "Admin"
set name = "Show Skills"
@@ -1246,6 +1246,9 @@ var/global/floorIsLava = 0
usr << "Error: you are not an admin!"
return
var/mob/living/carbon/human/M = input("Select mob.", "Select mob.") as null|anything in human_mob_list
if(!M) return
show_skill_window(usr, M)
return