Update syncnodes command again :P
This commit is contained in:
parent
eb5b086df3
commit
9a5bff6867
@ -724,8 +724,15 @@ namespace Components
|
|||||||
|
|
||||||
Command::Add("syncnodes", [] (Command::Params params)
|
Command::Add("syncnodes", [] (Command::Params params)
|
||||||
{
|
{
|
||||||
Logger::Print("Synchronizing nodes...\n");
|
Logger::Print("Re-Synchronizing nodes...\n");
|
||||||
Node::SyncNodeList();
|
|
||||||
|
for (auto& node : Node::Nodes)
|
||||||
|
{
|
||||||
|
node.state = Node::STATE_UNKNOWN;
|
||||||
|
node.registered = false;
|
||||||
|
node.lastTime = 0;
|
||||||
|
node.lastListQuery = 0;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Install frame handlers
|
// Install frame handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user