From 7125866a33c62888ff0541a157f5b5039b4b93c4 Mon Sep 17 00:00:00 2001 From: Hellss Date: Tue, 28 Dec 2021 20:00:38 +0300 Subject: [PATCH] add +-0.5 random --- lua/metrostroi/systems/sys_81_717_panel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/metrostroi/systems/sys_81_717_panel.lua b/lua/metrostroi/systems/sys_81_717_panel.lua index 660f559..669aeb7 100644 --- a/lua/metrostroi/systems/sys_81_717_panel.lua +++ b/lua/metrostroi/systems/sys_81_717_panel.lua @@ -177,7 +177,7 @@ function TRAIN_SYSTEM:Initialize() self.Train:LoadSystem("KV3","Relay","Switch",{bass=true}) self.Train:LoadSystem("R1","Relay","Switch",{bass=true,close_time=2.3}) - self.Train:LoadSystem("C1","Relay","Switch",{bass=true,close_time=5.0}) + self.Train:LoadSystem("C1","Relay","Switch",{bass=true,close_time=4.5+math.random()}) self.Train:LoadSystem("VKST","Relay","Switch",{bass=true,normally_closed=true}) self.V1 = 0