mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
glorious update
work on rift tour, fix some crash and some bugs, added destroying gadgets when no more uses
This commit is contained in:
@@ -489,7 +489,19 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
||||
|
||||
LOG_INFO(LogDev, "GameMode 0x{:x}", __int64(GameMode));
|
||||
|
||||
float Duration = 100000.f;
|
||||
bool bShouldSkipAircraft = false;
|
||||
|
||||
GET_PLAYLIST(GameState);
|
||||
|
||||
if (CurrentPlaylist)
|
||||
{
|
||||
static auto bSkipAircraftOffset = CurrentPlaylist->GetOffset("bSkipAircraft", false);
|
||||
|
||||
if (bSkipAircraftOffset != -1)
|
||||
bShouldSkipAircraft = CurrentPlaylist->Get<bool>(bSkipAircraftOffset);
|
||||
}
|
||||
|
||||
float Duration = bShouldSkipAircraft ? 0 : 100000;
|
||||
float EarlyDuration = Duration;
|
||||
|
||||
float TimeSeconds = UGameplayStatics::GetTimeSeconds(GetWorld());
|
||||
@@ -522,8 +534,6 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game
|
||||
|
||||
if (GameState_AirCraftBehaviorOffset != -1)
|
||||
{
|
||||
GET_PLAYLIST(GameState);
|
||||
|
||||
if (CurrentPlaylist)
|
||||
{
|
||||
static auto Playlist_AirCraftBehaviorOffset = CurrentPlaylist->GetOffset("AirCraftBehavior", false);
|
||||
|
||||
Reference in New Issue
Block a user