Skip to content

Clearing a barbarian camp on a tile you own leaves the "improvement" behind #10963

Closed
@SomeTroglodyte

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

  1. Found a city 2 tiles from a barbarian camp
  2. Buy the tiles around the city including the camp
  3. Buy a Knight and use it to clear that camp next turn
  4. You get the clear notification and the gold, but the tile "improvement" stays.

Screenshots

image

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.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions