Dont disconnect when connecting to steam servers on non steam (#5617)
This will allow sending steam players to steam servers while completely ignoring non steam ones.
This commit is contained in:
@@ -290,6 +290,7 @@ public class NetClient implements ApplicationListener{
|
|||||||
|
|
||||||
@Remote(called = Loc.client, variants = Variant.one)
|
@Remote(called = Loc.client, variants = Variant.one)
|
||||||
public static void connect(String ip, int port){
|
public static void connect(String ip, int port){
|
||||||
|
if(!steam && ip.startsWith("steam:")) return;
|
||||||
netClient.disconnectQuietly();
|
netClient.disconnectQuietly();
|
||||||
logic.reset();
|
logic.reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user