From 69fe103a5eb105c00d0a60831ac336660d43030c Mon Sep 17 00:00:00 2001 From: Moon Horse Date: Sat, 13 Dec 2025 14:24:02 +0300 Subject: [PATCH] door pneumatics logic of Isolation valves state update bug fixed --- lua/metrostroi/systems/sys_81_717_pneumatic.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/metrostroi/systems/sys_81_717_pneumatic.lua b/lua/metrostroi/systems/sys_81_717_pneumatic.lua index 8f20817..466dd4a 100644 --- a/lua/metrostroi/systems/sys_81_717_pneumatic.lua +++ b/lua/metrostroi/systems/sys_81_717_pneumatic.lua @@ -829,7 +829,8 @@ function TRAIN_SYSTEM:Think(dT) ---------------------------------------------------------------------------- -- Simulate doors opening, closing local _1stRightRelease - if self.NewPneumatics == 1 and #Train.WagonList == Train.CarCount then + --if self.NewPneumatics == 1 and #Train.WagonList == Train.CarCount then + if self.NewPneumatics == 1 and Train.IgnoreEngine == false then local LeftRelease = Train.DoorReleaseLeft.Value == 0 local RightRelease = Train.DoorReleaseRight.Value == 0 _1stRightRelease = Train.DoorReleaseExtra and Train.DoorReleaseExtra.Value == 0