From adbdbb8c0396ebe3d9f614e5d6f21fa1175c9e5f Mon Sep 17 00:00:00 2001 From: Not Date: Tue, 17 Oct 2023 20:31:23 +0200 Subject: [PATCH] do not transmit on first frame --- transmission.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission.lua b/transmission.lua index f05fb57..40fd9e1 100644 --- a/transmission.lua +++ b/transmission.lua @@ -90,7 +90,7 @@ end rawset(_G, "lb_transmitter", Transmitter) addHook("ThinkFrame", function() - if not #transmitters then return end + if not (#transmitters and leveltime) then return end local index = (leveltime % #transmitters) + 1 local transmitter = transmitters[index]