mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Ima go get my popeyes
This commit is contained in:
@@ -797,6 +797,7 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
||||
|
||||
LOG_INFO(LogNet, "WorldLevel {}", GameState->GetWorldLevel());
|
||||
|
||||
#ifndef ABOVE_S20
|
||||
if (Globals::AmountOfListens == 1) // we only want to do this one time.
|
||||
{
|
||||
if (bEnableRebooting)
|
||||
@@ -900,18 +901,11 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
||||
|
||||
AllRebootVans.Free();
|
||||
|
||||
if (Engine_Version >= 500)
|
||||
{
|
||||
GameState->Get<float>("DefaultParachuteDeployTraceForGroundDistance") = 10000;
|
||||
}
|
||||
|
||||
if (AmountOfBotsToSpawn != 0)
|
||||
{
|
||||
Bots::SpawnBotsAtPlayerStarts(AmountOfBotsToSpawn);
|
||||
}
|
||||
|
||||
UptimeWebHook.send_message(std::format("Server up! {} {}", Fortnite_Version, PlaylistName)); // PlaylistName sometimes isn't always what we use!
|
||||
|
||||
if (std::floor(Fortnite_Version) == 5)
|
||||
{
|
||||
auto NewFn = FindObject<UFunction>(L"/Game/Athena/Prototype/Blueprints/Cube/CUBE.CUBE_C.New");
|
||||
@@ -979,6 +973,14 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
if (Engine_Version >= 500)
|
||||
{
|
||||
GameState->Get<float>("DefaultParachuteDeployTraceForGroundDistance") = 10000;
|
||||
}
|
||||
|
||||
UptimeWebHook.send_message(std::format("Server up! {} {}", Fortnite_Version, PlaylistName)); // PlaylistName sometimes isn't always what we use!
|
||||
|
||||
static auto ReplicationDriverOffset = GetWorld()->GetNetDriver()->GetOffset("ReplicationDriver", false); // If netdriver is null the world blows up
|
||||
|
||||
Globals::bShouldUseReplicationGraph = (!(ReplicationDriverOffset == -1 || Fortnite_Version >= 20))
|
||||
|
||||
Reference in New Issue
Block a user