1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
This commit is contained in:
Ilya Krasnow
2022-04-10 01:33:33 +03:00
parent 2a0c38af45
commit fc955128ab
9 changed files with 6 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ ENT.SyncTable = {
"DriverValveBLDisconnect","DriverValveTLDisconnect","EmergencyBrakeValve", "UKSDisconnect",
"GV",
"R_Program1","R_Program1H","R_Program2H","UAVA","UAVAC",
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
}
ENT.SyncFunctions = {
""

View File

@@ -10,7 +10,8 @@ ENT.SyncTable = {
"AB1","AB2",
"RRIEnable","RRIAmplifier",
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
"GV"
"GV",
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
}
ENT.SyncFunctions = {
""

View File

@@ -11,7 +11,8 @@ ENT.SyncTable = {
"SAMMSchemeOff","SAMMStart","SAMMReset","SAMMOn","SAMMBlok","SAMMX2","SAMMAhead","SAMMAccept","SAMMUnit",
"RRIEnable","RRIAmplifier",
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
"GV"
"GV",
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
}
function ENT:Initialize()

View File

@@ -420,7 +420,7 @@ else
self.Error = CurTime()%0.5 > 0.25
elseif self.State == 2 then
if #self.Log > 100 then table.remove(self.Log,1) end
local Standby = CurTime()-self.StandbyTimer > 60
local Standby = CurTime()-self.StandbyTimer > (self.State2>=2 and 60 or 10)
if self.State2 > 0 and Standby then self.State2 = 0 end
if self.ShowTimeTimer and self.ShowTimeTimer ~= true and CurTime()-self.ShowTimeTimer > 1.5 then
self.ShowTime = not self.ShowTime