hotfix register thread *again*

This commit is contained in:
Lion Kortlepel 2021-03-30 01:56:33 +02:00
parent 44f2fdfa7c
commit 603663ed2c

View File

@ -474,8 +474,8 @@ void TNetwork::TCPClient(const std::weak_ptr<TClient>& c) {
mServer.RemoveClient(c); mServer.RemoveClient(c);
return; return;
} }
RegisterThread("(" + std::to_string(c.lock()->GetID()) + ") \"" + c.lock()->GetName() + "\"");
OnConnect(c); OnConnect(c);
RegisterThread("(" + std::to_string(c.lock()->GetID()) + ") \"" + c.lock()->GetName() + "\"");
while (true) { while (true) {
if (c.expired()) if (c.expired())
break; break;