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

This commit is contained in:
necromanceranne
2025-05-09 00:59:08 +10:00
committed by Roxy
parent 535e60c3a7
commit d9cdc4889d
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)]"