Cant put these on objects..

This commit is contained in:
Artur
2020-09-02 19:10:35 +03:00
parent 8d073bbce6
commit d47a670f84
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -307,7 +307,7 @@
F = S
update_icon()
update_helmlight(user)
add_verb(user, /obj/item/clothing/head/helmet/proc/toggle_helmlight)
verbs += /obj/item/clothing/head/helmet/proc/toggle_helmlight
var/datum/action/A = new /datum/action/item_action/toggle_helmet_flashlight(src)
if(loc == user)
A.Grant(user)
@@ -323,7 +323,7 @@
S.update_brightness(user)
update_icon()
usr.update_inv_head()
remove_verb(src, /obj/item/clothing/head/helmet/proc/toggle_helmlight)
verbs -= /obj/item/clothing/head/helmet/proc/toggle_helmlight
for(var/datum/action/item_action/toggle_helmet_flashlight/THL in actions)
qdel(THL)
return