Dunno why I moved that

This commit is contained in:
Cyberboss
2017-04-01 23:16:59 -04:00
committed by GitHub
parent 0202c07459
commit 8f0a8e4419
@@ -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
on = 1