fixed melee collision being enabled at start

This commit is contained in:
Derek
2025-03-15 00:12:09 -05:00
parent 0f2b5c41e2
commit efb3fee189
5 changed files with 7 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ var cycle_count
# Called when the node enters the scene tree for the first time.
func _ready():
if melee_collision_shape != null:
melee_collision_shape.disabled = true
if weapon_info.weapon_type != 1:
casings_chamber_last = weapon_info.max_ammo