More tweaks but broke the enemy script

This commit is contained in:
derek
2024-12-03 13:27:44 -06:00
parent 299257e0d9
commit ad11da38f8
23 changed files with 194 additions and 86 deletions

View File

@@ -95,7 +95,7 @@ func shoot(delta):
instance_bullet.player_position = player.global_position
get_tree().get_root().add_child(instance_bullet)
player.recoil.add_recoil(recoil_amount,10,10)
SaveLoad.shots_fired += 1
SaveLoad.shots_fired = SaveLoad.null_data_check(SaveLoad.shots_fired, 1)
if fire_mode != 0:
cycle_count -= 1