Skip to content

Commit a6f89ea

Browse files
committed
fix: reset connection state when joining a session failed
1 parent e24666d commit a6f89ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Scripts/Gameplay/UI/Session/SessionUIMediator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ void HandleSessionJoinResult((bool Success, ISession Session) result)
194194
}
195195
else
196196
{
197+
m_ConnectionManager.RequestShutdown();
197198
UnblockUIAfterLoadingIsComplete();
198199
}
199200
}

0 commit comments

Comments
 (0)