Browse Source

Change in data managing

tags/online
madiwka3 4 years ago
parent
commit
63d34f91ba
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      main.lua

+ 1
- 6
main.lua View File

@@ -784,9 +784,6 @@ function nettest(dt)
local data local data
local datanumtest = 0 local datanumtest = 0
data = udp:receive() data = udp:receive()
if not data then
confirmation = "D"
end
repeat repeat
datanumtest = datanumtest + 1 datanumtest = datanumtest + 1
print("LATENCY: " .. tostring(datanumtest)) print("LATENCY: " .. tostring(datanumtest))
@@ -825,9 +822,7 @@ function clienttest(dt)
local data local data
local datanumtest = 0 local datanumtest = 0
data = udp:receive() data = udp:receive()
if not data then
confirmation = "D"
end
repeat repeat
datanumtest = datanumtest + 1 datanumtest = datanumtest + 1
print("LATENCY: " .. tostring(datanumtest)) print("LATENCY: " .. tostring(datanumtest))


Loading…
Cancel
Save