diff --git a/Project Reboot 3.0/FortGameModeAthena.cpp b/Project Reboot 3.0/FortGameModeAthena.cpp index e1bb980..581cf79 100644 --- a/Project Reboot 3.0/FortGameModeAthena.cpp +++ b/Project Reboot 3.0/FortGameModeAthena.cpp @@ -233,6 +233,8 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game SetupServerBotManager(); // SetupNavConfig(UKismetStringLibrary::Conv_StringToName(L"MANG")); + /* + static auto WorldManagerOffset = GameState->GetOffset("WorldManager", false); if (WorldManagerOffset != -1) // needed? @@ -263,6 +265,8 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game } } + */ + static auto WarmupRequiredPlayerCountOffset = GameMode->GetOffset("WarmupRequiredPlayerCount"); GameMode->Get(WarmupRequiredPlayerCountOffset) = 1; @@ -542,10 +546,8 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game } } - if (!Globals::bCreative) // ?? + // if (!Globals::bCreative) // ?? { - // TODO Not do this because on some playlists like battle lab there is no warmup player starts. - static auto FortPlayerStartCreativeClass = FindObject(L"/Script/FortniteGame.FortPlayerStartCreative"); static auto FortPlayerStartWarmupClass = FindObject(L"/Script/FortniteGame.FortPlayerStartWarmup"); TArray Actors = UGameplayStatics::GetAllActorsOfClass(GetWorld(), Globals::bCreative ? FortPlayerStartCreativeClass : FortPlayerStartWarmupClass);