Merge pull request #1990 from Anewbe/cloak_test

Attacks break stealth
This commit is contained in:
Neerti
2016-06-27 01:25:19 -04:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@
anim(get_turf(H), H, 'icons/effects/effects.dmi', "electricity",null,20,null)
H.visible_message("[H.name] vanishes into thin air!",1)
H.visible_message("[H.name] vanishes into thin air!")
/obj/item/rig_module/stealth_field/deactivate()

View File

@@ -9,7 +9,6 @@
return null
/mob/living/carbon/human/attack_hand(mob/living/carbon/M as mob)
var/mob/living/carbon/human/H = M
if(istype(H))
var/obj/item/organ/external/temp = H.organs_by_name["r_hand"]
@@ -18,7 +17,7 @@
if(!temp || !temp.is_usable())
H << "\red You can't use your hand."
return
break_cloak()
H.break_cloak()
..()
// Should this all be in Touch()?