Transport Fever 2

Transport Fever 2

AI Builder
Vayu 4 Jan, 2023 @ 11:23am
GitHub repo?
Hello,

First of all, thanks for this massive effort. Is there a GitHub repo for all of this code somewhere?

I found a minor bug in scripts\ai_builder_route_preparation.lua on line 4423. The error that I was getting was that it wasn't declared as local. I declared it as local and the error went away. However, the variable nextT is not used at all anywhere else in the function. So, it might be okay to just delete the entire line.

Changed
nextT = newSplitPoint.t3
to
local nextT = newSplitPoint.t3
< >
Showing 1-1 of 1 comments
okeating  [developer] 4 Apr, 2023 @ 3:19am 
Thanks, I intend to get round to putting it onto Git, in the meantime I have deleted the line as you correctly pointed out it is unused :)
< >
Showing 1-1 of 1 comments
Per page: 1530 50