diff --git a/Facepunch.Steamworks/SteamMatchmaking.cs b/Facepunch.Steamworks/SteamMatchmaking.cs index a180305..bd88851 100644 --- a/Facepunch.Steamworks/SteamMatchmaking.cs +++ b/Facepunch.Steamworks/SteamMatchmaking.cs @@ -49,7 +49,7 @@ internal static void InstallEvents() OnLobbyMemberJoined?.Invoke( new Lobby( x.SteamIDLobby ), new Friend( x.SteamIDUserChanged ) ); if ( (x.GfChatMemberStateChange & (int)ChatMemberStateChange.Left) != 0 ) - OnLobbyMemberLeft?.Invoke( new Lobby( x.SteamIDLobby ), new Friend( x.SteamIDUserChanged ) ); + OnLobbyMemberLeave?.Invoke( new Lobby( x.SteamIDLobby ), new Friend( x.SteamIDUserChanged ) ); if ( (x.GfChatMemberStateChange & (int)ChatMemberStateChange.Disconnected) != 0 ) OnLobbyMemberDisconnected?.Invoke( new Lobby( x.SteamIDLobby ), new Friend( x.SteamIDUserChanged ) ); @@ -104,7 +104,7 @@ static private unsafe void OnLobbyChatMessageRecievedAPI( LobbyChatMsg_t callbac /// /// The lobby member left the room /// - public static event Action OnLobbyMemberLeft; + public static event Action OnLobbyMemberLeave; /// /// The lobby member left the room