mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
idek
remove s18+ storm effect, fix teams on all versions, fix a crash, fix 1.11 restarting
This commit is contained in:
@@ -24,7 +24,9 @@ void AFortPlayerControllerAthena::StartGhostModeHook(UObject* Context, FFrame* S
|
||||
|
||||
// if (!Controller->HasAuthority) return StartGhostModeOriginal(Context, Stack, Ret);
|
||||
|
||||
// if (Controller->GhostModeRepData.bInGhostMode) return StartGhostModeOriginal(Context, Stack, Ret);
|
||||
auto GhostModeRepData = Controller->GetGhostModeRepData();
|
||||
|
||||
if (GhostModeRepData->IsInGhostMode()) return StartGhostModeOriginal(Context, Stack, Ret);
|
||||
|
||||
auto WorldInventory = Controller->GetWorldInventory();
|
||||
|
||||
@@ -217,6 +219,16 @@ void AFortPlayerControllerAthena::EnterAircraftHook(UObject* PC, AActor* Aircraf
|
||||
WorldInventory->Update();
|
||||
|
||||
// Should we equip the pickaxe for older builds here?
|
||||
|
||||
if (Fortnite_Version < 2.5) // idk
|
||||
{
|
||||
/* auto PickaxeInstance = WorldInventory->GetPickaxeInstance();
|
||||
|
||||
if (!PickaxeInstance)
|
||||
return;
|
||||
|
||||
AFortPlayerController::ServerExecuteInventoryItemHook(PlayerController, PickaxeInstance->GetItemEntry()->GetItemGuid()); */
|
||||
}
|
||||
}
|
||||
|
||||
void AFortPlayerControllerAthena::ServerRequestSeatChangeHook(AFortPlayerControllerAthena* PlayerController, int TargetSeatIndex)
|
||||
|
||||
Reference in New Issue
Block a user