Workshop map listing button
This commit is contained in:
@@ -228,11 +228,11 @@ public class DesktopLauncher extends ClientLauncher{
|
||||
|
||||
@Override
|
||||
public void viewMapListing(Map map){
|
||||
viewMapListing(map.file.parent().name());
|
||||
viewListing(map.file.parent().name());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void viewMapListing(String mapid){
|
||||
public void viewListing(String mapid){
|
||||
SVars.net.friends.activateGameOverlayToWebPage("steam://url/CommunityFilePage/" + mapid);
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ public class SWorkshop implements SteamUGCCallback{
|
||||
dialog.addCloseButton();
|
||||
|
||||
dialog.buttons.addImageTextButton("$view.workshop", Icon.linkSmall, () -> {
|
||||
platform.viewMapListing(id);
|
||||
platform.viewListing(id);
|
||||
dialog.hide();
|
||||
}).size(210f, 64f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user