mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-06 03:16:05 -06:00
migrate back_rail to back_end.rail for 2.0
This commit is contained in:
@@ -147,7 +147,7 @@ end
|
||||
---@param stop LuaEntity
|
||||
---@param train LuaTrain
|
||||
local function get_train_direction(stop, train)
|
||||
local back_rail = train.back_rail
|
||||
local back_rail = train.back_end.rail
|
||||
|
||||
if back_rail then
|
||||
local back_pos = back_rail.position
|
||||
|
||||
Reference in New Issue
Block a user