mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
FIX DOORS ORIENTATION (720, 722)
This commit is contained in:
@@ -620,8 +620,8 @@ if SERVER then
|
||||
local orientation = train.Orientation
|
||||
Train:SetNW2Bool("VityazWagOr"..i,orientation)
|
||||
for d=1,4 do
|
||||
Train:SetNW2Bool("VityazDoor"..d.."L"..i,train["Door"..(orientation and d or d+4).."Closed"])
|
||||
Train:SetNW2Bool("VityazDoor"..d.."R"..i,train["Door"..(orientation and d+4 or d).."Closed"])
|
||||
Train:SetNW2Bool("VityazDoor"..d.."L"..i,train["Door"..(orientation and d or 9-d).."Closed"])
|
||||
Train:SetNW2Bool("VityazDoor"..d.."R"..i,train["Door"..(orientation and d+4 or 5-d).."Closed"])
|
||||
end
|
||||
end
|
||||
elseif self.State2 == 6 then
|
||||
|
||||
Reference in New Issue
Block a user