diff --git a/Facepunch.Steamworks/SteamFriends.cs b/Facepunch.Steamworks/SteamFriends.cs index 3a8d338..8ddd3cb 100644 --- a/Facepunch.Steamworks/SteamFriends.cs +++ b/Facepunch.Steamworks/SteamFriends.cs @@ -27,7 +27,7 @@ internal override void InitializeInterface( bool server ) internal void InstallEvents() { - Dispatch.Install( x => OnPersonaStateChange?.Invoke( new Friend( x.SteamID ) ) ); + Dispatch.Install( x => OnPersonaStateChange?.Invoke( new Friend( x.SteamID ), (PersonaChange)x.ChangeFlags ) ); Dispatch.Install( x => OnGameRichPresenceJoinRequested?.Invoke( new Friend( x.SteamIDFriend), x.ConnectUTF8() ) ); Dispatch.Install( OnFriendChatMessage ); Dispatch.Install( OnGameConnectedClanChatMessage ); @@ -52,7 +52,7 @@ internal void InstallEvents() /// /// called when a friends' status changes /// - public static event Action OnPersonaStateChange; + public static event Action OnPersonaStateChange; ///