Refactors hitreaction to pass in the hitting atom

Required some upstream changes to the check_shields proc to also
reliably pass in the atom
This commit is contained in:
oranges
2017-06-20 02:48:17 +00:00
parent d0be33f480
commit 186d17b77b
28 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -278,6 +278,6 @@
if(holder)
holder.update_icon()
/obj/item/device/assembly/flash/shield/hit_reaction(obj/item/weapon/W, mob/user, params)
/obj/item/device/assembly/flash/shield/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
activate()
return ..()