Ninja fix.

This commit is contained in:
Fermi
2019-06-26 12:01:26 +01:00
parent 19b79b8232
commit fbf54cd560
2 changed files with 7 additions and 1 deletions
@@ -10,6 +10,9 @@
//item_flags = NODROP //Tips their hat!
/obj/item/clothing/head/hattip/attack_hand(mob/user)
if(is_ninja(user))
to_chat(user, "<span class='notice'>Using your superior ninja reflexes, you take the hat off before tipping.</span>")
return ..()
if(iscarbon(user))
var/mob/living/carbon/C = user
if(src == C.head)
@@ -20,6 +23,9 @@
return ..()
/obj/item/clothing/head/hattip/MouseDrop(atom/over_object)
if(is_ninja(user))
to_chat(user, "<span class='notice'>Using your superior ninja reflexes, you take the hat off before tipping.</span>")
return ..()
//You sure do love tipping your hat.
if(usr)
var/mob/living/carbon/C = usr