Skip to content

Commit db8ca6d

Browse files
committed
Update projectile.dm
1 parent e6b3538 commit db8ca6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

code/modules/projectiles/projectile.dm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
var/ricochet_sound = ""
2121

2222
///what we should call the fired bullet
23-
var/bullet_identifier = "high velocity gnome"
23+
var/bullet_identifier = null
2424

2525
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
2626
var/def_zone = "" //Aiming at
@@ -183,6 +183,8 @@
183183
. = ..()
184184
decayedRange = range
185185
speed = speed + speed_mod
186+
if(!bullet_identifier)
187+
bullet_identifier = name
186188
AddElement(/datum/element/connect_loc, projectile_connections)
187189

188190
/obj/projectile/proc/Range()

0 commit comments

Comments
 (0)