mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fixed looting
This commit is contained in:
@@ -175,6 +175,19 @@ void AFortGameModeAthena::HandleSpawnRateForActorClass(UClass* ActorClass, float
|
||||
}
|
||||
}
|
||||
|
||||
void AFortGameModeAthena::StartAircraftPhase()
|
||||
{
|
||||
if (Addresses::StartAircraftPhase)
|
||||
{
|
||||
static void (*StartAircraftPhaseOriginal)(AFortGameModeAthena*, bool bDoNotSpawnAircraft) = decltype(StartAircraftPhaseOriginal)(Addresses::StartAircraftPhase);
|
||||
StartAircraftPhaseOriginal(this, false); // love the double negative fortnite
|
||||
}
|
||||
else
|
||||
{
|
||||
UKismetSystemLibrary::ExecuteConsoleCommand(GetWorld(), L"startaircraft", nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
void AFortGameModeAthena::PauseSafeZone(bool bPaused)
|
||||
{
|
||||
auto GameState = GetGameStateAthena();
|
||||
|
||||
Reference in New Issue
Block a user