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:
@@ -829,7 +829,8 @@ function TRAIN_SYSTEM:Think(dT)
|
|||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
-- Simulate doors opening, closing
|
-- Simulate doors opening, closing
|
||||||
local _1stRightRelease
|
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 LeftRelease = Train.DoorReleaseLeft.Value == 0
|
||||||
local RightRelease = Train.DoorReleaseRight.Value == 0
|
local RightRelease = Train.DoorReleaseRight.Value == 0
|
||||||
_1stRightRelease = Train.DoorReleaseExtra and Train.DoorReleaseExtra.Value == 0
|
_1stRightRelease = Train.DoorReleaseExtra and Train.DoorReleaseExtra.Value == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user