summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 68080b6..b56f427 100644
--- a/src/main.c
+++ b/src/main.c
@@ -51,5 +51,10 @@ main_loop(void *udata)
TZR_DrawBegin();
TZR_DrawEnd();
+ if (netcode_ping()) {
+ log_error("netcode_ping failed");
+ return -1;
+ }
+
return 0;
}