mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-24 09:56:32 +07:00
Fixed banned Steam users loading indefinitely
This commit is contained in:
parent
91cc4f922e
commit
351c2c84f2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user