Merge pull request #48 from Elewyth/master

properly forward UWorld::ServerTravel return value
This commit is contained in:
Joshua (MordenTral) Statzer
2022-09-08 14:06:02 -04:00
committed by GitHub

View File

@@ -540,8 +540,7 @@ bool UAdvancedSessionsLibrary::ServerTravel(UObject* WorldContextObject, const F
UWorld* const World = GEngine->GetWorldFromContextObject(WorldContextObject, EGetWorldErrorMode::ReturnNull);
if (World)
{
World->ServerTravel(FURL, bAbsolute, bShouldSkipGameNotify);
return true;
return World->ServerTravel(FURL, bAbsolute, bShouldSkipGameNotify);
}
return false;