mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
i apology
This commit is contained in:
@@ -233,6 +233,8 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
|||||||
SetupServerBotManager();
|
SetupServerBotManager();
|
||||||
// SetupNavConfig(UKismetStringLibrary::Conv_StringToName(L"MANG"));
|
// SetupNavConfig(UKismetStringLibrary::Conv_StringToName(L"MANG"));
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
static auto WorldManagerOffset = GameState->GetOffset("WorldManager", false);
|
static auto WorldManagerOffset = GameState->GetOffset("WorldManager", false);
|
||||||
|
|
||||||
if (WorldManagerOffset != -1) // needed?
|
if (WorldManagerOffset != -1) // needed?
|
||||||
@@ -263,6 +265,8 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
static auto WarmupRequiredPlayerCountOffset = GameMode->GetOffset("WarmupRequiredPlayerCount");
|
static auto WarmupRequiredPlayerCountOffset = GameMode->GetOffset("WarmupRequiredPlayerCount");
|
||||||
GameMode->Get<int>(WarmupRequiredPlayerCountOffset) = 1;
|
GameMode->Get<int>(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<UClass>(L"/Script/FortniteGame.FortPlayerStartCreative");
|
static auto FortPlayerStartCreativeClass = FindObject<UClass>(L"/Script/FortniteGame.FortPlayerStartCreative");
|
||||||
static auto FortPlayerStartWarmupClass = FindObject<UClass>(L"/Script/FortniteGame.FortPlayerStartWarmup");
|
static auto FortPlayerStartWarmupClass = FindObject<UClass>(L"/Script/FortniteGame.FortPlayerStartWarmup");
|
||||||
TArray<AActor*> Actors = UGameplayStatics::GetAllActorsOfClass(GetWorld(), Globals::bCreative ? FortPlayerStartCreativeClass : FortPlayerStartWarmupClass);
|
TArray<AActor*> Actors = UGameplayStatics::GetAllActorsOfClass(GetWorld(), Globals::bCreative ? FortPlayerStartCreativeClass : FortPlayerStartWarmupClass);
|
||||||
|
|||||||
Reference in New Issue
Block a user