diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 9efc9b9a4b..64cb47a770 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -1156,7 +1156,7 @@ setting.sfxvol.name = SFX Volume setting.mutesound.name = Mute Sound setting.crashreport.name = Send Anonymous Crash Reports setting.savecreate.name = Auto-Create Saves -setting.publichost.name = Public Game Visibility +setting.steampublichost.name = Public Game Visibility setting.playerlimit.name = Player Limit setting.chatopacity.name = Chat Opacity setting.lasersopacity.name = Power Laser Opacity diff --git a/desktop/src/mindustry/desktop/steam/SNet.java b/desktop/src/mindustry/desktop/steam/SNet.java index e648af88b9..446a8653f3 100644 --- a/desktop/src/mindustry/desktop/steam/SNet.java +++ b/desktop/src/mindustry/desktop/steam/SNet.java @@ -405,7 +405,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback, final SteamID sid; public SteamConnection(SteamID sid){ - super(sid.getAccountID() + ""); + super("steam:" + sid.getAccountID()); this.sid = sid; Log.info("Created STEAM connection: @", sid.getAccountID()); } @@ -440,7 +440,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback, @Override protected void kickDisconnect(){ //delay the close so the kick packet can be sent on steam - Core.app.post(() -> Core.app.post(this::close)); + Time.runTask(10f, this::close); } @Override