Fixed banned Steam users loading indefinitely
This commit is contained in:
@@ -1156,7 +1156,7 @@ setting.sfxvol.name = SFX Volume
|
|||||||
setting.mutesound.name = Mute Sound
|
setting.mutesound.name = Mute Sound
|
||||||
setting.crashreport.name = Send Anonymous Crash Reports
|
setting.crashreport.name = Send Anonymous Crash Reports
|
||||||
setting.savecreate.name = Auto-Create Saves
|
setting.savecreate.name = Auto-Create Saves
|
||||||
setting.publichost.name = Public Game Visibility
|
setting.steampublichost.name = Public Game Visibility
|
||||||
setting.playerlimit.name = Player Limit
|
setting.playerlimit.name = Player Limit
|
||||||
setting.chatopacity.name = Chat Opacity
|
setting.chatopacity.name = Chat Opacity
|
||||||
setting.lasersopacity.name = Power Laser Opacity
|
setting.lasersopacity.name = Power Laser Opacity
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback,
|
|||||||
final SteamID sid;
|
final SteamID sid;
|
||||||
|
|
||||||
public SteamConnection(SteamID sid){
|
public SteamConnection(SteamID sid){
|
||||||
super(sid.getAccountID() + "");
|
super("steam:" + sid.getAccountID());
|
||||||
this.sid = sid;
|
this.sid = sid;
|
||||||
Log.info("Created STEAM connection: @", sid.getAccountID());
|
Log.info("Created STEAM connection: @", sid.getAccountID());
|
||||||
}
|
}
|
||||||
@@ -440,7 +440,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback,
|
|||||||
@Override
|
@Override
|
||||||
protected void kickDisconnect(){
|
protected void kickDisconnect(){
|
||||||
//delay the close so the kick packet can be sent on steam
|
//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
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user