From 8f0a8e44199f2f85dffcd24662406fba2eeb466f Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sat, 1 Apr 2017 23:16:59 -0400 Subject: [PATCH] Dunno why I moved that --- code/game/machinery/porta_turret/portable_turret.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm index 5c2978361f3..29a3a57b987 100644 --- a/code/game/machinery/porta_turret/portable_turret.dm +++ b/code/game/machinery/porta_turret/portable_turret.dm @@ -306,13 +306,13 @@ ..() /obj/machinery/porta_turret/take_damage(damage, damage_type = BRUTE, damage_flag = 0, sound_effect = 1) + . = ..() if(.) //damage received if(prob(30)) spark_system.start() if(on && !attacked && !emagged) attacked = TRUE addtimer(CALLBACK(src, .proc/reset_attacked), 60) - . = ..() /obj/machinery/porta_turret/proc/reset_attacked() attacked = FALSE @@ -913,4 +913,4 @@ if(istype(P, /obj/item/projectile/beam/lasertag/bluetag)) on = 0 spawn(100) - on = 1 \ No newline at end of file + on = 1