ammo working through weapon manager
This commit is contained in:
@@ -29,7 +29,7 @@ func _ready():
|
||||
player.ammo = player.gun.max_ammo
|
||||
player.ammo_reserve = player.gun.max_ammo * player.gun.start_mags
|
||||
player.gun_fire_pitch_starting = player.gun.audio_fire.pitch_scale
|
||||
current_gun_index = 0
|
||||
instance_gun.gun_index = 0
|
||||
player.weapon_holder.add_child(instance_gun)
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
||||
Reference in New Issue
Block a user