fix: game freezes when starting without internet connection (ref #600)
This commit is contained in:
parent
18fe797c7b
commit
c7d02f3f1d
2 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 3ef427c866ea6287bfbca602daa200a32cbedc6f
|
||||
Subproject commit a518be32e2ccf8e2ddb073fe237d1652cd8b185a
|
||||
|
|
@ -870,8 +870,8 @@ bool Game::postload () {
|
|||
// set out user agent for http stuff
|
||||
http.setUserAgent (strings.format ("%s/%s", product.name, product.version));
|
||||
|
||||
// startup the sockets on windows
|
||||
http.startup ();
|
||||
// startup the sockets on windows and check if our host is available (hardcoded, yup)
|
||||
http.startup ("yapb.jeefo.net", "Bot is unable to check network availability. Networking features are disabled.");
|
||||
|
||||
// set the app name
|
||||
plat.setAppName (product.name.chars ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue