mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
Makes it so that there is an actual tracer on the tesla cannon hitscan beam. (#90979)
This commit is contained in:
@@ -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)]"
|
||||
|
||||
Reference in New Issue
Block a user