mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Fixed find asnp type
This commit is contained in:
@@ -271,14 +271,14 @@ if CLIENT then
|
|||||||
-- self:PrintText(0,1,"<<< КОНЕЧАЯ >>>")
|
-- self:PrintText(0,1,"<<< КОНЕЧАЯ >>>")
|
||||||
else
|
else
|
||||||
--self:PrintText(0,1,string.rep("I",Path and 2 or 1))
|
--self:PrintText(0,1,string.rep("I",Path and 2 or 1))
|
||||||
local ezh = Train.SubwayTrain.Name:find("zh")
|
local findE = Train.SubwayTrain.Type=="E"
|
||||||
if not ezh and Path then
|
if not findE and Path then
|
||||||
self:PrintText(-0.2,1,"I")
|
self:PrintText(-0.2,1,"I")
|
||||||
self:PrintText( 0.2,1,"I")
|
self:PrintText( 0.2,1,"I")
|
||||||
elseif not ezh then
|
elseif not findE then
|
||||||
self:PrintText(0,1,"I")
|
self:PrintText(0,1,"I")
|
||||||
end
|
end
|
||||||
self:PrintText(ezh and 0 or 2,1,string.format("%2d",Train:GetNW2Int("ASNP:RouteNumber",0)))
|
self:PrintText(findE and 0 or 2,1,string.format("%2d",Train:GetNW2Int("ASNP:RouteNumber",0)))
|
||||||
if ltbl.Loop and Train:GetNW2Int("ASNP:LastStation",1) == 0 then
|
if ltbl.Loop and Train:GetNW2Int("ASNP:LastStation",1) == 0 then
|
||||||
self:PrintText(6,1,"Кольцевой")
|
self:PrintText(6,1,"Кольцевой")
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user