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
|
|
@ -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