mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Reserve vectors before pushing and other code quality changes (#11161)
This commit is contained in:
@@ -671,7 +671,6 @@ void ClientInterface::UpdatePlayerList()
|
||||
std::vector<session_t> clients = getClientIDs();
|
||||
m_clients_names.clear();
|
||||
|
||||
|
||||
if (!clients.empty())
|
||||
infostream<<"Players:"<<std::endl;
|
||||
|
||||
|
Reference in New Issue
Block a user