Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Trees appear immedeately after a buidling is destroyed #93

Closed KroArtem closed 8 years ago

KroArtem commented 8 years ago

2016-04-22 04-28-53

My catapult just destroyed town hall and a square of tree appeared immediately on the place it stood. There is also a shell-hole on those place, see screenshot.

Andrettin commented 8 years ago

Thank you! I've made it so now the "regeneration counter" remains at 0 when the tile is occupied by a building (previously the counter advanced, but the regeneration itself was stopped if the tile was occupied), to avoid this sort of situation: https://github.com/Andrettin/Wyrmgus/commit/e27145f94614cb6e6be40229488231f2027b46fe