mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-23 16:34:07 +00:00
Merge pull request #48 from Elewyth/master
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);
|
UWorld* const World = GEngine->GetWorldFromContextObject(WorldContextObject, EGetWorldErrorMode::ReturnNull);
|
||||||
if (World)
|
if (World)
|
||||||
{
|
{
|
||||||
World->ServerTravel(FURL, bAbsolute, bShouldSkipGameNotify);
|
return World->ServerTravel(FURL, bAbsolute, bShouldSkipGameNotify);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user