(1edd7c0b9) Created methods for getting lists of favourite servers and servers you've been to (history) from the GetServers method, changes might be needed
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Barotrauma
|
||||
|
||||
private ContentPackage itemContentPackage;
|
||||
private Facepunch.Steamworks.Workshop.Editor itemEditor;
|
||||
//private Facepunch.Steamworks.Overlay overlay;
|
||||
|
||||
public SteamWorkshopScreen()
|
||||
{
|
||||
@@ -637,6 +638,12 @@ namespace Barotrauma
|
||||
OutlineColor = new Color(72, 124, 77, 255),
|
||||
OnClicked = (btn, userdata) =>
|
||||
{
|
||||
// Failed attempt, might have to be activated before accessing because as of now it just throws a null for overlay
|
||||
/*if (overlay.Enabled)
|
||||
{
|
||||
overlay.OpenUrl("steam://url/CommunityFilePage/" + item.Id);
|
||||
}*/
|
||||
|
||||
System.Diagnostics.Process.Start("steam://url/CommunityFilePage/" + item.Id);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user