mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-08 06:08:03 -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 stop LuaEntity
|
||||||
---@param train LuaTrain
|
---@param train LuaTrain
|
||||||
local function get_train_direction(stop, train)
|
local function get_train_direction(stop, train)
|
||||||
local back_rail = train.back_rail
|
local back_rail = train.back_end.rail
|
||||||
|
|
||||||
if back_rail then
|
if back_rail then
|
||||||
local back_pos = back_rail.position
|
local back_pos = back_rail.position
|
||||||
|
|||||||
Reference in New Issue
Block a user