maint: re-order local variable definitions

This commit is contained in:
Diavolo 2023-06-20 19:10:41 +02:00
parent 75593b125e
commit 0da8167a0a
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -39,13 +39,13 @@ namespace Components
Password.clear();
return;
}
auto* addr = reinterpret_cast<Game::netadr_t*>(0xA5EA44);
if (Password.empty())
{
Logger::Print("You need to be logged in and connected to a server!\n");
}
auto* addr = reinterpret_cast<Game::netadr_t*>(0xA5EA44);
Network::Address target(addr);
if (!target.isValid() || target.getIP().full == 0)
{