Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSRoad.RemoveRoad fails #4918

Closed
DorpsGek opened this issue Dec 29, 2011 · 1 comment
Closed

GSRoad.RemoveRoad fails #4918

DorpsGek opened this issue Dec 29, 2011 · 1 comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

MinchinWeb opened the ticket and wrote:

I'm using r23682 on Windows 7x64.

GSRoad.RemoveRoad and GSRoad.RemoveRoadFull do not work for the GameScript when a company is not in scope.

My pathfinder was built on the assumption that these would work and can't build tunnels (and may bridges) without this functionality.

A test script is attached below. The script will build several lines of roads, and then try to remove the two middle ones.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4918
@DorpsGek
Copy link
Member Author

TrueBrain closed the ticket.

Reason for closing: Not a bug

Works as intended. You can build roads, but not remove it, without a valid company active.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4918

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Goal/Game script labels Apr 7, 2018
@frosch123 frosch123 added the component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) label Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

2 participants