Fix runtime in mechs taking damage

This commit is contained in:
Aronai Sieyes
2020-04-15 21:49:05 -04:00
parent fc312dd9ea
commit 74a6c8cecb
+1 -1
View File
@@ -799,7 +799,7 @@
var/pass_damage = W.force
for(var/obj/item/mecha_parts/mecha_equipment/ME in equipment)
pass_damage = ME.handle_projectile_contact(W, user, pass_damage)
pass_damage = ME.handle_projectile_contact(W, pass_damage)
src.take_damage(pass_damage,W.damtype)
src.check_for_internal_damage(list(MECHA_INT_TEMP_CONTROL,MECHA_INT_TANK_BREACH,MECHA_INT_CONTROL_LOST))
return