mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
newGame: observers update before matchState was changed lead to new hanging thread creation
This commit is contained in:
@@ -148,7 +148,7 @@ public enum FModel {
|
||||
// Set gameplay preferences and constants
|
||||
final HttpUtil pinger = new HttpUtil();
|
||||
final String url = ForgeProps.getProperty(NewConstants.CARDFORGE_URL) + "/draftAI/ping.php";
|
||||
Constant.Runtime.NET_CONN = (pinger.getURL(url).equals("pong") ? true : false);
|
||||
Constant.Runtime.NET_CONN = false; // (pinger.getURL(url).equals("pong") ? true : false);
|
||||
|
||||
this.setBuildInfo(new BuildInfo());
|
||||
FModel.loadDynamicGamedata();
|
||||
|
||||
Reference in New Issue
Block a user