Skip to content

Commit

Permalink
verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Jun 25, 2023
1 parent 1441fbb commit 4dbcd20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/clothing/clothing_accessories.dm
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
if(A)
remove_accessory(usr,A)
if(!LAZYLEN(accessories))
remove_verb(src, /obj/item/clothing/proc/removetie_verb)
remove_obj_verb(src, /obj/item/clothing/proc/removetie_verb)
accessories = null

/obj/item/clothing/emp_act(severity)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/suits/eventclothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@
if(A) //If a selection is made, call the other proc
hide_accessory(usr,A)
if(!LAZYLEN(accessories)) //But if there are no accessories, list will be empty, meaning we ought to remove access to verb
remove_verb(src, /obj/item/clothing/under/event_reward/foxmiko/verb/hidetie) //Removes access to verb
remove_obj_verb(src, /obj/item/clothing/under/event_reward/foxmiko/verb/hidetie) //Removes access to verb
accessories = null
2 changes: 1 addition & 1 deletion code/modules/clothing/under/accessories/holster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

/obj/item/clothing/accessory/holster/on_removed(mob/user as mob)
if(accessory_host)
remove_verb(accessory_host, /obj/item/clothing/accessory/holster/verb/holster_verb)
remove_obj_verb(accessory_host, /obj/item/clothing/accessory/holster/verb/holster_verb)
..()

//For the holster hotkey
Expand Down

0 comments on commit 4dbcd20

Please sign in to comment.