mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-22 16:04:18 +00:00
properly forward UWorld::ServerTravel return value
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user