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