fixed spectating on high versions

This commit is contained in:
Syphon
2025-05-21 21:25:18 -05:00
parent 59e24d803d
commit affa0f9655

View File

@@ -1632,6 +1632,11 @@ void AFortPlayerController::ClientOnPawnDiedHook(AFortPlayerController* PlayerCo
} }
} }
if (Fortnite_Version >= 15) // dk if this is correct
{
PlayerController->GetStateName() = UKismetStringLibrary::Conv_StringToName(L"Spectating");
}
if (IsRestartingSupported() && Globals::bAutoRestart && !bIsInAutoRestart) if (IsRestartingSupported() && Globals::bAutoRestart && !bIsInAutoRestart)
{ {
// wht // wht