bullet visible by distance
This commit is contained in:
@@ -152,6 +152,7 @@ func fire(delta):
|
||||
instance_bullet.bullet_damage = bullet_damage
|
||||
instance_bullet.random_spread_amt = random_spread_amt
|
||||
instance_bullet.bullet_force_mod = bullet_force_mod
|
||||
instance_bullet.player = player
|
||||
instance_bullet.instance_bullethole = bullethole.instantiate()
|
||||
get_tree().get_root().add_child(instance_bullet)
|
||||
player.weapon_recoil()
|
||||
|
||||
Reference in New Issue
Block a user