Clearing a barbarian camp on a tile you own leaves the "improvement" behind #10963
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Game Version
from current source
Describe the bug
See title?
Steps to Reproduce
- Found a city 2 tiles from a barbarian camp
- Buy the tiles around the city including the camp
- Buy a Knight and use it to clear that camp next turn
- You get the clear notification and the gold, but the tile "improvement" stays.
Screenshots
Link to save file
Will need to try to repro on a smaller map
Operating System
Windows
Additional Information
Found #6560, but I doubt there's a connection.
The bogus improvement disappears on save/reload or next-turn. Console tile removeimprovement
has no effect. Aha! That nasty lastSeenImprovement again! selectedTile.getOwner().lastSeenImprovement[selectedTile.position]
- there it is.