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