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)
|
||||
{
|
||||
Logger::Print("Synchronizing nodes...\n");
|
||||
Node::SyncNodeList();
|
||||
Logger::Print("Re-Synchronizing nodes...\n");
|
||||
|
||||
for (auto& node : Node::Nodes)
|
||||
{
|
||||
node.state = Node::STATE_UNKNOWN;
|
||||
node.registered = false;
|
||||
node.lastTime = 0;
|
||||
node.lastListQuery = 0;
|
||||
}
|
||||
});
|
||||
|
||||
// Install frame handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user