diff --git a/Facepunch.Steamworks/Client/Overlay.cs b/Facepunch.Steamworks/Client/Overlay.cs index c322ff9..60d87f9 100644 --- a/Facepunch.Steamworks/Client/Overlay.cs +++ b/Facepunch.Steamworks/Client/Overlay.cs @@ -41,6 +41,6 @@ private void OverlayStateChange( GameOverlayActivated_t activation ) public void AcceptFriendRequest( ulong steamid ) { OpenUserPage( "friendrequestaccept", steamid ); } public void IgnoreFriendRequest( ulong steamid ) { OpenUserPage( "friendrequestignore", steamid ); } - public void OpenUrl( string url ) { client.native.friends.ActivateGameOverlayToWebPage( url ); } + public void OpenUrl( string url, bool modal = false ) { client.native.friends.ActivateGameOverlayToWebPage( url, modal ? ActivateGameOverlayToWebPageMode.Modal : ActivateGameOverlayToWebPageMode.Default ); } } }