1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Merge pull request #363 from metrostroi-repo/#341

#341 #333
This commit is contained in:
HellReach
2021-12-28 18:08:44 +03:00
committed by GitHub
7 changed files with 9 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ else
self.Reloaded = true
local rn = Format("%03d",self.RouteNumber)
print(self.RouteNumber)
-- print(self.RouteNumber)
for i=1,2 do
if IsValid(scents["route"..i]) then
scents["route"..i]:SetSkin(rn[i])

View File

@@ -75,7 +75,7 @@ function TRAIN_SYSTEM:Play(dep)
self:AnnQueue(math.Rand(0.0,0.2))
if self.Noise then self:AnnQueue{"noise_start",self.Noise} else self:AnnQueue("noise_end") end
self:AnnQueue{math.Rand(0.0,0.2), stbl.tone or "tone"}
if lastst then self:AnnQueue{-1} end
if lastst and not stbl.ignorelast then self:AnnQueue{-1} end
self:AnnQueue(msg)
self:AnnQueue{math.Rand(0.1,0.4),"noise_end","buzz_end_upo"}
if self.Clicks then self:AnnQueue("click2") end