Skip to content
Snippets Groups Projects
Commit e7d1fc17 authored by VR Lab 4's avatar VR Lab 4
Browse files

fix bug of invalid logging components on debug starting a map

parent 594f3b0f
No related branches found
No related tags found
No related merge requests found
...@@ -286,5 +286,7 @@ void USFFadeHandler::SetTimerForNextTick(const float TimeToWait) ...@@ -286,5 +286,7 @@ void USFFadeHandler::SetTimerForNextTick(const float TimeToWait)
void USFFadeHandler::SetLevelToLoad(const FString& LevelName) void USFFadeHandler::SetLevelToLoad(const FString& LevelName)
{ {
if (!GetIsFadedOutWaitingForLevel()) return; if (!GetIsFadedOutWaitingForLevel()) return;
//in case something was already loaded (e.g., when debig starting)
USFGameInstance::Get()->GetLogObject()->RemoveAllTrackedComponents();
NewLevelName = LevelName; NewLevelName = LevelName;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment