Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fnc_findReadyVehicles ammo check #363

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

rekterakathom
Copy link
Contributor

When merged this pull request will: Ensure that vehicles aren't considered ready if they don't have any ammo

  1. Describe what this pull request will do
  • Add a magazine check to fnc_findReadyVehicles to see if the vehicle has any ammo left
  • This is because canFire does not check for ammo
  1. Each change in a separate line
  • Add a magazine check to fnc_findReadyVehicles to see if the vehicle has any ammo left

canFire does not account for a vehicle having no ammo left
@jokoho48 jokoho48 added this to the 2.6.1 milestone Oct 4, 2023
@nk3nny nk3nny merged commit bb6af92 into nk3nny:master Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants