mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
uncommented the ping functionality from FModel (yesterday site was down ping took too much time)
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 = false; // (pinger.getURL(url).equals("pong") ? true : false);
|
||||
Constant.Runtime.NET_CONN = (pinger.getURL(url).equals("pong") ? true : false);
|
||||
|
||||
this.setBuildInfo(new BuildInfo());
|
||||
FModel.loadDynamicGamedata();
|
||||
|
||||
Reference in New Issue
Block a user