diff --git a/Teleport/Teleport/TeleportCommands.h b/Teleport/Teleport/TeleportCommands.h index 027bf3c..5b537ad 100644 --- a/Teleport/Teleport/TeleportCommands.h +++ b/Teleport/Teleport/TeleportCommands.h @@ -239,7 +239,7 @@ void AdminTPTarget(APlayerController* Player_Controller, FString* message, bool { AShooterPlayerController* player = static_cast(Player_Controller); if (!player || !player->PlayerStateField() || !player->GetPlayerCharacter()) return; - AActor* Actor = player->GetPlayerCharacter()->GetAimedActor(ECollisionChannel::ECC_GameTraceChannel1, nullptr, 0.0f, 0.0f, nullptr, nullptr, false, false); + AActor* Actor = player->GetPlayerCharacter()->GetAimedActor(ECollisionChannel::ECC_GameTraceChannel1, nullptr, 0.0f, 0.0f, nullptr, nullptr, false, false, false); if (!Actor) return; if (Actor->IsA(APrimalDinoCharacter::GetPrivateStaticClass())) { @@ -380,4 +380,4 @@ void RemoveCommands() ArkApi::GetCommands().RemoveConsoleCommand("offline"); ArkApi::GetCommands().RemoveConsoleCommand("otp"); ArkApi::GetCommands().RemoveConsoleCommand("treload"); -} \ No newline at end of file +}