mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-23 00:14:24 +00:00
fixed setting should advertise twice
This commit is contained in:
@@ -53,7 +53,7 @@ void UCreateSessionCallbackProxyAdvanced::Activate()
|
|||||||
FOnlineSessionSettings Settings;
|
FOnlineSessionSettings Settings;
|
||||||
Settings.NumPublicConnections = NumPublicConnections;
|
Settings.NumPublicConnections = NumPublicConnections;
|
||||||
Settings.NumPrivateConnections = NumPrivateConnections;
|
Settings.NumPrivateConnections = NumPrivateConnections;
|
||||||
Settings.bShouldAdvertise = true;
|
Settings.bShouldAdvertise = bShouldAdvertise;
|
||||||
Settings.bAllowJoinInProgress = true;
|
Settings.bAllowJoinInProgress = true;
|
||||||
Settings.bIsLANMatch = bUseLAN;
|
Settings.bIsLANMatch = bUseLAN;
|
||||||
Settings.bAllowJoinViaPresence = bAllowJoinViaPresence;
|
Settings.bAllowJoinViaPresence = bAllowJoinViaPresence;
|
||||||
@@ -74,7 +74,6 @@ void UCreateSessionCallbackProxyAdvanced::Activate()
|
|||||||
Settings.bAllowJoinViaPresenceFriendsOnly = bAllowJoinViaPresenceFriendsOnly;
|
Settings.bAllowJoinViaPresenceFriendsOnly = bAllowJoinViaPresenceFriendsOnly;
|
||||||
Settings.bAntiCheatProtected = bAntiCheatProtected;
|
Settings.bAntiCheatProtected = bAntiCheatProtected;
|
||||||
Settings.bUsesStats = bUsesStats;
|
Settings.bUsesStats = bUsesStats;
|
||||||
Settings.bShouldAdvertise = bShouldAdvertise;
|
|
||||||
|
|
||||||
// These are about the only changes over the standard Create Sessions Node
|
// These are about the only changes over the standard Create Sessions Node
|
||||||
Settings.bAllowInvites = bAllowInvites;
|
Settings.bAllowInvites = bAllowInvites;
|
||||||
|
Reference in New Issue
Block a user