add IPv6 support

This commit is contained in:
Lion Kortlepel
2024-07-12 15:45:50 +02:00
parent 72022e3349
commit eaedeb5324
4 changed files with 58 additions and 19 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ void TConsole::Command_Status(const std::string&, const std::vector<std::string>
if (!Client.expired()) {
auto Locked = Client.lock();
CarCount += Locked->GetCarCount();
ConnectedCount += Locked->IsConnected() ? 1 : 0;
ConnectedCount += Locked->IsUDPConnected() ? 1 : 0;
GuestCount += Locked->IsGuest() ? 1 : 0;
SyncedCount += Locked->IsSynced() ? 1 : 0;
SyncingCount += Locked->IsSyncing() ? 1 : 0;