The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: THLeaderH on October 02, 2021, 02:38:50 PM

Title: [Script] wrong parameter conversion in tool_base.nut
Post by: THLeaderH on October 02, 2021, 02:38:50 PM
The new function interfaces for scripting tool were implemented in r10077 (https://github.com/aburch/simutrans/commit/b70e485741fa600b0c5400f222b8d3e7d9d7c66a), but the parameter conversions for do_work() and mark_tiles() in tool_base.nut are not correct.
The attached patch should fix this problem.
Title: Re: [Script] wrong parameter conversion in tool_base.nut
Post by: Dwachs on October 03, 2021, 10:38:38 AM
thank you ! in r r10128