Clean up net cull deprecation warnings

This commit is contained in:
2026-05-19 14:12:03 -07:00
parent 19d2d32bb7
commit 5364f4d2c5
11 changed files with 67 additions and 18 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ AAgrarianWildlifeBase::AAgrarianWildlifeBase()
{
PrimaryActorTick.bCanEverTick = true;
bReplicates = true;
NetCullDistanceSquared = FMath::Square(6000.0f);
SetNetCullDistanceSquared(FMath::Square(6000.0f));
AutoPossessAI = EAutoPossessAI::PlacedInWorldOrSpawned;
AIControllerClass = AAIController::StaticClass();