harrischristiansen/generals-bot

BUG: Map.py - Capturing a city tile while also removing visibility does not clear owner.

Closed this issue · 1 comments

If a city is surrounded before it is captured, since the new owner tile id is never visible in the next update, the previous owner is not cleared.

This has caused path bot to believe it still owns the tile (with a large army), and attempt to use the city as it's path source.

generals-bot/master 1c54d41