Skip to content

GarrisonContain: Add safety checks and graceful handling for empty station points and over capacity - #95

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/garrisoncontain-safetychecks
Open

GarrisonContain: Add safety checks and graceful handling for empty station points and over capacity#95
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/garrisoncontain-safetychecks

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-M0. The issue was that: State corruption in m_stationPointList causes access violation read when matching contained objects to station points.

  • Add safety check: if station point list is empty, position all objects at container center.
  • If no station point is available (capacity exceeded), position at container center.
  • Safety check: if obj is null or station point list is empty, fail gracefully in pickAStationForMe.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2091402

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants