mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
work on 21.00
This commit is contained in:
@@ -78,13 +78,20 @@ void UWorld::Listen()
|
||||
*(UNetDriver**)(__int64(LevelCollections.AtPtr(1, LevelCollectionSize)) + 0x10) = NewNetDriver;
|
||||
|
||||
FString Error;
|
||||
|
||||
LOG_INFO(LogNet, "Calling InitListen!");
|
||||
|
||||
if (!NewNetDriver->InitListen(GetWorld(), URL, false, Error))
|
||||
AWorldSettings* WorldSettings = GetWorldSettings();
|
||||
const bool bReuseAddressAndPort = false; // WorldSettings ? WorldSettings->bReuseAddressAndPort : false;
|
||||
|
||||
if (!NewNetDriver->InitListen(GetWorld(), URL, bReuseAddressAndPort, Error))
|
||||
{
|
||||
LOG_ERROR(LogNet, "Failed to init listen!");
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_INFO(LogNet, "Called InitListen!");
|
||||
|
||||
const bool bLanSpeed = false;
|
||||
|
||||
if (!bLanSpeed && (NewNetDriver->GetMaxInternetClientRate() < NewNetDriver->GetMaxClientRate()) && (NewNetDriver->GetMaxInternetClientRate() > 2500))
|
||||
|
||||
Reference in New Issue
Block a user