Skip to content

Commit 047dac0

Browse files
Update Assets/Scripts/Gameplay/UI/IPConnectionWindow.cs
Co-authored-by: Fernando Cortez <[email protected]>
1 parent d255e8b commit 047dac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Gameplay/UI/IPConnectionWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void Awake()
3535

3636
void OnDestroy()
3737
{
38-
m_ConnectStatusSubscriber.Unsubscribe(OnConnectStatusMessage);
38+
m_ConnectStatusSubscriber?.Unsubscribe(OnConnectStatusMessage);
3939
}
4040

4141
void OnConnectStatusMessage(ConnectStatus connectStatus)

0 commit comments

Comments
 (0)