1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

resolve #196: increased max FreeBS in signal (#350)

This commit is contained in:
Αλέξανδρος
2021-08-09 22:03:20 +03:00
committed by GitHub
parent 4c927670bd
commit 9c7f0c2237

View File

@@ -402,7 +402,7 @@ function ENT:ARSLogic(tim)
if self.Occupied or not self.NextSignalLink or not self.NextSignalLink.FreeBS then if self.Occupied or not self.NextSignalLink or not self.NextSignalLink.FreeBS then
self.FreeBS = 0 self.FreeBS = 0
else else
self.FreeBS = math.min(10,self.NextSignalLink.FreeBS + 1) self.FreeBS = math.min(30,self.NextSignalLink.FreeBS + 1) -- old 10 freebs - костыль
end end
if self.FreeBS - (self.OldBSState or self.FreeBS) > 1 then if self.FreeBS - (self.OldBSState or self.FreeBS) > 1 then
local Free = self.FreeBS local Free = self.FreeBS