mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Fixes
This commit is contained in:
@@ -13,6 +13,7 @@ ENT.SyncTable = {
|
|||||||
"DriverValveBLDisconnect","DriverValveTLDisconnect","EmergencyBrakeValve", "UKSDisconnect",
|
"DriverValveBLDisconnect","DriverValveTLDisconnect","EmergencyBrakeValve", "UKSDisconnect",
|
||||||
"GV",
|
"GV",
|
||||||
"R_Program1","R_Program1H","R_Program2H","UAVA","UAVAC",
|
"R_Program1","R_Program1H","R_Program2H","UAVA","UAVAC",
|
||||||
|
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
|
||||||
}
|
}
|
||||||
ENT.SyncFunctions = {
|
ENT.SyncFunctions = {
|
||||||
""
|
""
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ ENT.SyncTable = {
|
|||||||
"AB1","AB2",
|
"AB1","AB2",
|
||||||
"RRIEnable","RRIAmplifier",
|
"RRIEnable","RRIAmplifier",
|
||||||
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
|
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
|
||||||
"GV"
|
"GV",
|
||||||
|
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
|
||||||
}
|
}
|
||||||
ENT.SyncFunctions = {
|
ENT.SyncFunctions = {
|
||||||
""
|
""
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ ENT.SyncTable = {
|
|||||||
"SAMMSchemeOff","SAMMStart","SAMMReset","SAMMOn","SAMMBlok","SAMMX2","SAMMAhead","SAMMAccept","SAMMUnit",
|
"SAMMSchemeOff","SAMMStart","SAMMReset","SAMMOn","SAMMBlok","SAMMX2","SAMMAhead","SAMMAccept","SAMMUnit",
|
||||||
"RRIEnable","RRIAmplifier",
|
"RRIEnable","RRIAmplifier",
|
||||||
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
|
"DriverValveBLDisconnect","DriverValveTLDisconnect","EPK","EmergencyBrakeValve","UAVA","UAVAC",
|
||||||
"GV"
|
"GV",
|
||||||
|
"R_ASNPOn","R_ASNPDown","R_ASNPUp","R_ASNPPath","R_ASNPMenu","IGLA1","IGLA2",
|
||||||
}
|
}
|
||||||
|
|
||||||
function ENT:Initialize()
|
function ENT:Initialize()
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ else
|
|||||||
self.Error = CurTime()%0.5 > 0.25
|
self.Error = CurTime()%0.5 > 0.25
|
||||||
elseif self.State == 2 then
|
elseif self.State == 2 then
|
||||||
if #self.Log > 100 then table.remove(self.Log,1) end
|
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.State2 > 0 and Standby then self.State2 = 0 end
|
||||||
if self.ShowTimeTimer and self.ShowTimeTimer ~= true and CurTime()-self.ShowTimeTimer > 1.5 then
|
if self.ShowTimeTimer and self.ShowTimeTimer ~= true and CurTime()-self.ShowTimeTimer > 1.5 then
|
||||||
self.ShowTime = not self.ShowTime
|
self.ShowTime = not self.ShowTime
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user