1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
This commit is contained in:
Hellss
2021-11-08 23:40:49 +03:00
parent 107ad16ffc
commit b3e1513ebf
3 changed files with 3 additions and 14 deletions

View File

@@ -276,7 +276,6 @@ function TRAIN_SYSTEM:Think()
self.EnableMK = (not self:Get("PVU4") and self:Get("Compressor")) and 1 or 0
self.DisableTP = (self:Get("PVU5") or self:Get("PVU6")) and 1 or 0
self.DisablePant = (self:Get("DisablePant") or self:Get("PVU7")) and 1 or 0
self.ParkingBrake = self:Get("ParkingBrake")
local vent = self:Get("PassVent") or 0
if vent==1 then
self.VentMode = Train.Pneumatic.WeightLoadRatio>0.6 and 2 or Train.Pneumatic.WeightLoadRatio>0.1 and 1 or 0