Steam crash fix

This commit is contained in:
Anuken
2021-02-16 13:40:34 -05:00
parent 41b50d67af
commit 48745d7380
2 changed files with 9 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ public class MapEditorDialog extends Dialog implements Disposable{
platform.publish(map);
}).padTop(-3).size(swidth * 2f + 10, 60f).update(b ->
b.setText(editor.tags.containsKey("steamid") ?
editor.tags.get("author").equals(steamPlayerName) ? "@workshop.listing" : "@view.workshop" :
editor.tags.get("author", "").equals(steamPlayerName) ? "@workshop.listing" : "@view.workshop" :
"@editor.publish.workshop"));
menu.cont.row();