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

Update sys_81_717_pneumatic.lua

This commit is contained in:
BlueSnooty
2022-01-28 23:09:48 +03:00
committed by GitHub
parent 20a3869ad1
commit afc5d43beb

View File

@@ -500,18 +500,6 @@ function TRAIN_SYSTEM:Think(dT)
self.Leak = true
end
Train:SetPackedRatio("EmergencyBrakeValve_dPdT", -leak/wagc)
--[[
---------------debug---------------------
self.dlreadtimer = self.dlreadtimer or CurTime()
if CurTime() - self.dlreadtimer > 1.0 then
self.dlreadtimer = CurTime()
if Train:GetWagonNumber() == 8938 then
PrintMessage(HUD_PRINTTALK, Format("Вагон %u; ТМ dPdT = %.3f; Раб. кам. = %.3f",Train:GetWagonNumber(),self.BrakeLinePressure_dPdT,self.WorkingChamberPressure))
end
end
---------------debug---------------------]]
----------------------------------------------------------------------------
-- Fill brake cylinders
if self.WCChargeValve == true then