It's not a verb it's a proc

This commit is contained in:
SoundScopes
2015-02-21 03:40:14 +00:00
parent 97295fbb83
commit 70b5c0f315
2 changed files with 6 additions and 6 deletions
@@ -395,7 +395,7 @@ var/list/admin_verbs_duty = list(
/client/proc/spawn_duty_officer,
/client/proc/cmd_admin_create_centcom_report,
/client/proc/cmd_duty_say,
/client/verb/returntobody
/client/proc/returntobody
)
/client/proc/add_admin_verbs()
+5 -5
View File
@@ -140,10 +140,10 @@
W.registered_name = M.real_name
M.equip_if_possible(W, slot_wear_id)
verbs += /client/verb/returntobody
verbs += /client/proc/returntobody
break
/client/verb/returntobody()
/client/proc/returntobody()
set name = "Return to mob"
set desc = "The Duty is done, return to your original mob"
set category = "Special Verbs"
@@ -151,7 +151,7 @@
if(!check_rights(0)) return
if(!mob.mind || mob.mind.special_role != "Duty Officer")
verbs -= /client/verb/returntobody
verbs -= /client/proc/returntobody
return
if(!holder) return
@@ -164,7 +164,7 @@
if(holder.original_mob)
if(holder.original_mob == M)
verbs -= /client/verb/returntobody
verbs -= /client/proc/returntobody
return
holder.original_mob.key = key
holder.original_mob = null
@@ -174,5 +174,5 @@
mob.mind.admin_mob_placeholder = null
else
mob.ghostize(0)
verbs -= /client/verb/returntobody
verbs -= /client/proc/returntobody
del(M)