diff --git a/main.lua b/main.lua index 20883cc..9f24d90 100644 --- a/main.lua +++ b/main.lua @@ -784,9 +784,6 @@ function nettest(dt) local data local datanumtest = 0 data = udp:receive() - if not data then - confirmation = "D" - end repeat datanumtest = datanumtest + 1 print("LATENCY: " .. tostring(datanumtest)) @@ -825,9 +822,7 @@ function clienttest(dt) local data local datanumtest = 0 data = udp:receive() - if not data then - confirmation = "D" - end + repeat datanumtest = datanumtest + 1 print("LATENCY: " .. tostring(datanumtest))