mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
a bit
fix some versions crashing on join, fix s16 mcp, editing, and zone, fix some bug with restarting, performance
This commit is contained in:
@@ -21,7 +21,7 @@ void UWorld::Listen()
|
||||
|
||||
constexpr bool bUseBeacons = true;
|
||||
|
||||
int Port = 7777 - AmountOfRestarts;
|
||||
int Port = 7777 - Globals::AmountOfListens + 1;
|
||||
|
||||
if (bUseBeacons)
|
||||
{
|
||||
@@ -79,7 +79,7 @@ void UWorld::Listen()
|
||||
*(UNetDriver**)(__int64(LevelCollections.AtPtr(0, LevelCollectionSize)) + 0x10) = NewNetDriver;
|
||||
*(UNetDriver**)(__int64(LevelCollections.AtPtr(1, LevelCollectionSize)) + 0x10) = NewNetDriver;
|
||||
|
||||
LOG_INFO(LogNet, "Listening on port {}!", Port + AmountOfRestarts);
|
||||
LOG_INFO(LogNet, "Listening on port {}!", Port + Globals::AmountOfListens - 1);
|
||||
}
|
||||
|
||||
AWorldSettings* UWorld::GetWorldSettings(const bool bCheckStreamingPersistent, const bool bChecked) const
|
||||
|
||||
Reference in New Issue
Block a user