Merge pull request #21923 from ExcessiveUseOfCobblestone/helmfix

Hotfix: Sechelm Button Edition
This commit is contained in:
oranges
2016-12-06 10:34:26 +13:00
committed by GitHub
+2 -2
View File
@@ -234,8 +234,8 @@
return
/obj/item/clothing/head/helmet/ui_action_click(mob/user, actiontype)
if(actiontype == /datum/action/item_action/toggle_helmet_flashlight)
/obj/item/clothing/head/helmet/ui_action_click(mob/user, action)
if(istype(action, /datum/action/item_action/toggle_helmet_flashlight))
toggle_helmlight()
else
..()