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

door pneumatics logic of Isolation valves state update bug fixed

This commit is contained in:
Moon Horse
2025-12-13 14:24:02 +03:00
parent 1fdf118161
commit 69fe103a5e

View File

@@ -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