Makes it so that there is an actual tracer on the tesla cannon hitscan beam. (#90979)

This commit is contained in:
necromanceranne
2025-05-08 16:59:08 +02:00
committed by GitHub
parent 3274884afd
commit 9740ea8910
2 changed files with 14 additions and 6 deletions
@@ -60,3 +60,15 @@
/obj/effect/projectile/tracer/sniper
icon_state = "sniper"
/obj/effect/projectile/tracer/lightning
icon = 'icons/effects/beam.dmi'
icon_state = "lightning2"
/obj/effect/projectile/tracer/lightning/Initialize(mapload)
. = ..()
update_appearance()
/obj/effect/projectile/tracer/lightning/update_icon_state()
. = ..()
icon_state = "lightning[rand(1, 12)]"