Skip to content

Commit e9fe231

Browse files
authored
Merge pull request #1076 from PlayEveryWare/fix/sessions-sample-presence
fix: Use `PresenceVal.isOn` while calling `CreateSession`
2 parents 03b3c52 + 4094d06 commit e9fe231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/StandardSamples/UI/MatchMaking/UISessionsMatchmakingMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public void CreateNewSessionOnClick()
258258

259259
session.Attributes.Add(attribute);
260260

261-
GetEOSSessionsManager.CreateSession(session, UIOnSessionCreated);
261+
GetEOSSessionsManager.CreateSession(session, UIOnSessionCreated, this.PresenceVal.isOn);
262262
}
263263

264264
private void UIOnSessionCreated(SessionsManagerCreateSessionCallbackInfo info)

0 commit comments

Comments
 (0)