mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Fix have_inrerchange (#346)
This commit is contained in:
@@ -433,7 +433,7 @@ function TRAIN_SYSTEM:Play(dep,not_last)
|
||||
|
||||
self:AnnQueue(message)
|
||||
--local stbl = Metrostroi.ASNPSetup[self.Train:GetNW2Int("Announcer",1)][self.Line][self.Station]
|
||||
if self.LastStation > 0 and not dep and self.Station ~= last and tbl[last].not_last and (stbl.have_inrerchange or math.abs(last-self.Station) <= 3) then
|
||||
if self.LastStation > 0 and not dep and self.Station ~= last and tbl[last].not_last and (stbl.have_interchange or math.abs(last-self.Station) <= 3) then
|
||||
local ltbl = tbl[last]
|
||||
if stbl.not_last_c then
|
||||
local patt = stbl.not_last_c[path]
|
||||
|
||||
Reference in New Issue
Block a user