fix: game freezes when starting without internet connection (ref #600)

This commit is contained in:
jeefo 2024-07-24 23:49:30 +03:00
commit c7d02f3f1d
No known key found for this signature in database
GPG key ID: D696786B81B667C8
2 changed files with 3 additions and 3 deletions

View file

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