Updated Project Settings for Build

This commit is contained in:
Philip W 2023-03-06 00:22:09 +00:00
parent f8f6d28925
commit b5048e4be3
4 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ ManualIPAddress=
+ActiveGameNameRedirects=(OldGameName="TP_ThirdPerson",NewGameName="/Script/the_twilight_abyss")
[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/Levels/Top_layer_level.Top_layer_level
EditorStartupMap=/Game/Levels/Build.Build
LocalMapOptions=
TransitionMap=None
bUseSplitscreen=True
@ -26,7 +26,7 @@ ThreePlayerSplitscreenLayout=FavorTop
FourPlayerSplitscreenLayout=Grid
bOffsetPlayerGamepadIds=False
GameInstanceClass=/Script/Engine.GameInstance
GameDefaultMap=/Game/Levels/Top_layer_level.Top_layer_level
GameDefaultMap=/Game/Levels/Build.Build
ServerDefaultMap=/Engine/Maps/Entry.Entry
GlobalDefaultGameMode=/Game/Merchant/BP_MerchantGameMode.BP_MerchantGameMode_C
GlobalDefaultServerGameMode=None

Binary file not shown.

BIN
Content/Levels/Build.umap (Stored with Git LFS)

Binary file not shown.

View File

@ -82,7 +82,7 @@ void ATempCharacter::Sneak()
for (AActor* Actor : AIActors)
{
USphereComponent* SphereComponent = Actor->FindComponentByClass<USphereComponent>();
if (SphereComponent != nullptr)
if (IsValid(SphereComponent))
{
SphereComponent->SetSphereRadius(5.0f);
}