From 18cdf2264e511dfef311144c853ec2a916c5cd05 Mon Sep 17 00:00:00 2001 From: Ilya Krasnow Date: Fri, 27 Aug 2021 21:50:41 +0300 Subject: [PATCH] #355 --- lua/metrostroi/systems/sys_81_717_pneumatic.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/metrostroi/systems/sys_81_717_pneumatic.lua b/lua/metrostroi/systems/sys_81_717_pneumatic.lua index d513153..da7ff08 100644 --- a/lua/metrostroi/systems/sys_81_717_pneumatic.lua +++ b/lua/metrostroi/systems/sys_81_717_pneumatic.lua @@ -164,6 +164,7 @@ function TRAIN_SYSTEM:TriggerInput(name,value) local HaveUAVA = not self.Train.SubwayTrain or not self.Train.SubwayTrain.ARS or not self.Train.SubwayTrain.ARS.NoUAVA if HaveUAVA and self.Train.UAVA.Value == 0 then self.EmergencyValve = true + self.Train.UAVAC:TriggerInput("Set",0) if value > 0 then RunConsoleCommand("say","Autostop braking",self.Train:GetDriverName()) end end end