Skip to content

Conversation

@Thorbane
Copy link
Contributor

Changes

  • Add null check against current job before attempting to suspend it

References

Reasoning

  • Stops error messages from occurring when a bow or other magzineless ammo using weapon runs out of ammo

Alternatives

  • Use a different method than the brute force suspend job?

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • (For compatibility patches) ...with and without patched mod loaded
  • Playtested a colony (2 minutes)

@Thorbane Thorbane requested review from a team as code owners December 26, 2025 06:00
@github-actions
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20517086884.zip

@github-actions github-actions bot added the Download in Comments This PR has a zipfile download available. label Dec 26, 2025
@N7Huntsman N7Huntsman merged commit 02426e8 into Development Dec 26, 2025
3 checks passed
@N7Huntsman N7Huntsman deleted the ammo_out_NRE_Fix branch December 26, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Download in Comments This PR has a zipfile download available.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants