Fix: unused variable warnings
This commit is contained in:
@@ -99,9 +99,7 @@ extern void StateGameLoop();
|
||||
*/
|
||||
bool HasClients()
|
||||
{
|
||||
for (NetworkClientSocket *cs : NetworkClientSocket::Iterate()) return true;
|
||||
|
||||
return false;
|
||||
return !NetworkClientSocket::Iterate().empty();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user