summaryrefslogtreecommitdiff
path: root/script/service/telemetry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/service/telemetry.lua')
-rw-r--r--script/service/telemetry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua
index 52ad193b..c5f73a36 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -68,7 +68,7 @@ timer.wait(5, function ()
if not suc then
suc, link = pcall(net.connect, 'tcp', '119.45.194.183', 11577)
end
- if not suc then
+ if not suc or not link then
return
end
function link:on_connect()