mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
perforamce + fix chapter 2 match starting
This commit is contained in:
@@ -262,8 +262,7 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
|
||||
try { Health = std::stof(Arguments[1]); }
|
||||
catch (...) {}
|
||||
|
||||
static auto SetHealthFn = FindObject<UFunction>("/Script/FortniteGame.FortPawn.SetHealth");
|
||||
Pawn->ProcessEvent(SetHealthFn, &Health);
|
||||
Pawn->SetHealth(Health);
|
||||
SendMessageToConsole(PlayerController, L"Set health!\n");
|
||||
}
|
||||
else if (Command == "testspawn")
|
||||
|
||||
Reference in New Issue
Block a user