experimental restarting + cheat launch

This commit is contained in:
Milxnor
2023-03-31 08:08:33 -04:00
parent 678a21b056
commit 052cfb6d61
9 changed files with 181 additions and 32 deletions

View File

@@ -253,17 +253,17 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
GameState->OnRep_CurrentPlaylistInfo();
};
auto& LocalPlayers = GetLocalPlayers();
/* auto& LocalPlayers = GetLocalPlayers();
if (LocalPlayers.Num() && LocalPlayers.Data)
{
LocalPlayers.Remove(0);
}
// LOG_INFO(LogDev, "ReadyToStartMatch!");
} */
static int LastNum2 = 1;
// LOG_INFO(LogDev, "ReadyToStartMatch AmountOfRestarts: {} LastNum2: {}!", AmountOfRestarts, LastNum2);
if (AmountOfRestarts != LastNum2)
{
LastNum2 = AmountOfRestarts;