This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[Bug]: GSTile.DemolishTile() doesn't demolish some entities #10383
Labels
component: AI/Game script (squirrel)
This issue is related to Squirrel (Scripting language)
enhancement
Issue would be a good enhancement; we accept Pull Requests!
Version of OpenTTD
~13 approx
Expected result
The comment for GSTile.DemolishTile() is
Destroy everything on the given tile.
Per https://docs.openttd.org/gs-api/classGSTile.html#a5eb630e5a2cc7bcb352c76c4d819cb40
Expected result is that everything on the tile is cleared.
Actual result
Tested in both deity mode and company mode, at least the following are not demolished:
Either:
I can provide a test GS to repro if needed.
Steps to reproduce
Write a GS that tries to clear tiles containing the entities listed above.
Observe that those entities are not cleared.
The text was updated successfully, but these errors were encountered: