Add "X" line symbol for subway trains terminating/service trips
parent
be09acf5e2
commit
badd915121
|
@ -105,7 +105,9 @@ advtrains.register_wagon("subway_wagon", {
|
|||
--set line number
|
||||
local line = nil
|
||||
if train.line then
|
||||
line = tonumber(string.sub(train.line, 1, 1))
|
||||
local lint = string.sub(train.line, 1, 1)
|
||||
line = tonumber(lint)
|
||||
if lint=="X" then line="X" end
|
||||
end
|
||||
if line and line~=self.line_cache then
|
||||
local new_line_tex="advtrains_subway_wagon.png^advtrains_subway_wagon_line"..line..".png"
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue