From e28405d1c192d6ff32bb3890e2272f0df9a73610 Mon Sep 17 00:00:00 2001 From: Milxnor Date: Fri, 19 May 2023 20:36:09 -0400 Subject: [PATCH] i did bad --- Project Reboot 3.0/FortGameModeAthena.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Project Reboot 3.0/FortGameModeAthena.cpp b/Project Reboot 3.0/FortGameModeAthena.cpp index 9c3884a..e1bb980 100644 --- a/Project Reboot 3.0/FortGameModeAthena.cpp +++ b/Project Reboot 3.0/FortGameModeAthena.cpp @@ -542,8 +542,10 @@ 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); @@ -554,7 +556,7 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game if (ActorsNum == 0) return false; - } */ + } auto MapInfo = GameState->GetMapInfo();