fixed some versions

This commit is contained in:
Milxnor
2023-03-22 19:17:02 -04:00
parent d5bbca9add
commit bfa6df32a9
6 changed files with 102 additions and 41 deletions

View File

@@ -571,18 +571,18 @@ void AFortGameModeAthena::Athena_HandleStartingNewPlayerHook(AFortGameModeAthena
{
bFirst = false;
auto PlaylistToUse = GetPlaylistToUse();
auto CurrentPlaylist = GameState->GetCurrentPlaylist();
// if (!PlaylistToUse || !PlaylistToUse->Get<bool>("bSkipWarmup"))
// if (!CurrentPlaylist || !CurrentPlaylist->Get<bool>("bSkipWarmup"))
{
GameState->GetGamePhase() = EAthenaGamePhase::Warmup;
GameState->OnRep_GamePhase();
/* GameState->GetGamePhase() = EAthenaGamePhase::Warmup;
GameState->OnRep_GamePhase(); */
}
// GameState->OnRep_CurrentPlaylistInfo();
}
static bool bSpawnedFloorLoot = false;
static bool bSpawnedFloorLoot = Engine_Version >= 427;
if (!bSpawnedFloorLoot)
{