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

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