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

@@ -119,7 +119,7 @@ func fire():
spawn_casing()
player.recoil.add_recoil(Vector3(0,recoil_amount.y,recoil_amount.z),10,10)
player.recoil.add_gun_recoil(recoil_amount.x)
SaveLoad.shots_fired += 1
SaveLoad.shots_fired = SaveLoad.null_data_check(SaveLoad.shots_fired, 1)
if fire_mode != 0:
cycle_count -= 1