From f6b0ffc9df1a9922adf66e9066c0838d31db04d5 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 6 Aug 2016 13:35:40 +0200 Subject: [PATCH] Don't print invalid nodes --- src/Components/Modules/Node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index 1f9d1517..b4a66b9c 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -265,7 +265,9 @@ namespace Components node.lastHeard = Game::Sys_Milliseconds(); node.lastTime = Game::Sys_Milliseconds(); +#ifdef DEBUG Logger::Print("Node negotiation timed out. Invalidating %s\n", node.address.GetCString()); +#endif } if (registerCount < NODE_FRAME_QUERY_LIMIT)