mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-12-13 01:13:40 +00:00
Added a control bool for the auto travel setup
Added a control bool for the auto travel setup, and exposed two new variables to the Update Session node
This commit is contained in:
@@ -47,6 +47,13 @@ void UAdvancedFriendsGameInstance::OnSessionUserInviteAccepted(const bool bWasSu
|
||||
|
||||
void UAdvancedFriendsGameInstance::OnJoinSessionComplete(FName SessionName, EOnJoinSessionCompleteResult::Type Result)
|
||||
{
|
||||
|
||||
// If we don't want to auto travel to the session instance then exit out
|
||||
if (!bAutoTravelOnAcceptedUserInviteReceived)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
IOnlineSessionPtr SessionInterface = Online::GetSessionInterface(GetWorld());
|
||||
if (SessionInterface.IsValid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user