newGame: observers update before matchState was changed lead to new hanging thread creation

This commit is contained in:
Maxmtg
2012-10-06 19:21:59 +00:00
parent fb1f1d383c
commit bf50b09610
3 changed files with 12 additions and 18 deletions

View File

@@ -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();