Skip to content

Commit 211b1e2

Browse files
Update Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs
Co-authored-by: Philipp Deschain <[email protected]>
1 parent 614087a commit 211b1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void ServiceErrorHandler(UnityServiceErrorMessage error)
4949

5050
void HandleLobbyError(UnityServiceErrorMessage error)
5151
{
52-
var exception = (LobbyServiceException) error.OriginalException;
52+
var exception = error.OriginalException as LobbyServiceException;
5353
if (exception != null)
5454
{
5555
switch (exception.Reason)

0 commit comments

Comments
 (0)