Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Properly end capturing during an owner change #15643
Reproduction case: Capture an oil derrick that is owned by another player. That other play surrenders while you attempt to capture their oil derrick. The ownership changes back to "neutral" and the capturing activity is cancelled. However, the bar still progresses.
The fix: As soon as ownership returns to "neutral", the actor's generation is increased which means the target cached in