mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-29 08:19:17 +02:00
attempt to fix looping
This commit is contained in:
+3
-1
@@ -6,7 +6,9 @@ uecp.rt_tx_remaining = 0
|
||||
hooks.rt_transmission[#hooks.rt_transmission + 1] = function ()
|
||||
if #uecp.rt_buffer == 0 then return end
|
||||
|
||||
if #uecp.rt_buffer > 1 and uecp.rt_tx_remaining > 1 then
|
||||
if #uecp.rt_buffer == 1 then return end
|
||||
|
||||
if uecp.rt_tx_remaining > 1 then
|
||||
uecp.rt_tx_remaining = uecp.rt_tx_remaining - 1
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user