Minor tweaks and bug fixes

This commit is contained in:
derek
2024-11-06 16:47:18 -06:00
parent fc00ce0fb2
commit fa054ad3ed
16 changed files with 203 additions and 43 deletions

View File

@@ -23,6 +23,8 @@ var cycle_count
@export var fire_pitch_scale_amt = .2
@export_group("Gun Assets")
@export_subgroup("Main Assets")
@export var r_hand_location : Node
@export var l_hand_location : Node
@export var chamber : Node
@export var bullet : Resource
@export var bullethole : Resource
@@ -170,7 +172,7 @@ func reload(delta):
if anim_player.is_playing() and anim_player.current_animation == "reload":
level_control.ammo_current[gun_index] = 0
func spawn_casings():
func spawn_casings():
for i in casing_array:
i.visible = false
if casings_chamber_last > 0: