Repository navigation
Conversation
when a play loses their defense post, the shaded region may still be rendered until the building is fully removed.
|
Thanks for the PR, @cosyntxd! When it's ready for a maintainer to review, comment
See CONTRIBUTING.md for the full process. |
|
No actionable comments were generated in the recent review. Walkthrough
ChangesDefense Post Coverage
Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk:
|
|
/ready |
🤖 Claude Code ReviewVerdict: No issues found. Findings: 0 critical, 0 major, 0 minor. Checked for bugs and CLAUDE.md compliance. Adding |
Celant
left a comment
There was a problem hiding this comment.
Traced it through and this is the right fix. GameView only sets structuresDirty on the tick the post flips inactive, while it is still in the units map; the next tick drops it from the map without dirtying again, so that one upload was the only chance to clear the circle and it was still pushing the dead post. Every other structure pass already filters on isActive, so this brings the coverage pass in line. Looks good to me.
when a player loses their defense post, the shaded region may still be rendered until the building is fully removed.
Resolves #6329. Unable to reproduce the issue with this patch.
Syntxd