Transport Fever 2

Transport Fever 2

AI Builder
Vayu 2023 年 1 月 4 日 上午 11:23
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
< >
正在显示第 1 - 1 条,共 1 条留言
okeating  [开发者] 2023 年 4 月 4 日 上午 3:19 
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 :)
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50