From 428c1f24c38a62673de15938e553480c43b2f66f Mon Sep 17 00:00:00 2001 From: momo5502 Date: Thu, 12 Jan 2017 18:32:15 +0100 Subject: [PATCH] [Node] Directly query nodes --- src/Components/Modules/Node.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index c2ec3bdf..e870013f 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -70,10 +70,6 @@ namespace Components } } - CreateDirectoryW(L"players", NULL); - - - Utils::IO::WriteFile("players/nodes.dat", Utils::Compression::ZLib::Compress(list.SerializeAsString())); } @@ -272,7 +268,7 @@ namespace Components // Frame limit static int lastFrame = 0; - if ((Game::Sys_Milliseconds() - lastFrame) < (1000 / NODE_FRAME_LOCK) || Game::Sys_Milliseconds() < 5000) return; + if ((Game::Sys_Milliseconds() - lastFrame) < (1000 / NODE_FRAME_LOCK)/* || Game::Sys_Milliseconds() < 5000*/) return; lastFrame = Game::Sys_Milliseconds(); int registerCount = 0;