Skip to content

Fix Hunkering error#4596

Open
ViralReaction wants to merge 1 commit into
Developmentfrom
Fix-Hunkering-Suppression-Error
Open

Fix Hunkering error#4596
ViralReaction wants to merge 1 commit into
Developmentfrom
Fix-Hunkering-Suppression-Error

Conversation

@ViralReaction
Copy link
Copy Markdown
Contributor

@ViralReaction ViralReaction commented May 24, 2026

Additions

Describe new functionality added by your code, e.g.

  • Add saving for ticksHunkered

Changes

Describe adjustments to existing features made in this merge, e.g.

  • Validates data when getting error
  • Clears hunkering job if pawn is hunkering when receiving this error

Reasoning

Why did you choose to implement things this way, e.g.

  • Setting values to 0 will prevent the errors from spamming and should resolve after a one time error
  • ticksHunkered should be saved so that it is not being reset upon loading the game

Alternatives

Describe alternative implementations you have considered, e.g.

  • Add validation on saving/loading
  • Change the Error to a Warning since it should be getting fixed now
  • Do nothing

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 (specify how long)

@ViralReaction ViralReaction requested review from a team as code owners May 24, 2026 03:00
@ViralReaction ViralReaction added the C# Requires a C# solution. label May 24, 2026
@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions Bot added the Download in Comments This PR has a zipfile download available. label May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C# Requires a C# solution. Download in Comments This PR has a zipfile download available.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant