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

release branch init

This commit is contained in:
g_brzhezinskiy
2021-01-02 15:32:05 +03:00
parent 1d05caf866
commit 09566ce158
398 changed files with 8389 additions and 77275 deletions

View File

@@ -26,7 +26,7 @@ function TRAIN_SYSTEM:Inputs()
end
function TRAIN_SYSTEM:TriggerSensor(coil,plate)
if self.Power == true and not self.Controlling and plate.DistanceToOPV and plate.PlateType==METROSTROI_UPPSSENSOR then
if self.Power == true and not self.Controlling and plate.DistanceToOPV then
self.Controlling = plate.DistanceToOPV
self.Train:PlayOnce("upps","cabin",1)
self.KBTimer = CurTime()