Commit 5fc0da6a authored by woogerboy21's avatar woogerboy21
Browse files

#1351 Fix

This update address's the issue were a server with no db has only non-registered users but when creating a game will cause the dialogue to only allow the check box of "registered users only" resulting in a game that no user will ever be able to join.
parent 90381aa3
...@@ -111,7 +111,7 @@ SettingsCache::SettingsCache() ...@@ -111,7 +111,7 @@ SettingsCache::SettingsCache()
maxPlayers = settings->value("game/maxplayers", 2).toInt(); maxPlayers = settings->value("game/maxplayers", 2).toInt();
gameTypes = settings->value("game/gametypes","").toString(); gameTypes = settings->value("game/gametypes","").toString();
onlyBuddies = settings->value("game/onlybuddies", false).toBool(); onlyBuddies = settings->value("game/onlybuddies", false).toBool();
onlyRegistered = settings->value("game/onlyregistered", true).toBool(); onlyRegistered = settings->value("game/onlyregistered", false).toBool();
spectatorsAllowed = settings->value("game/spectatorsallowed", true).toBool(); spectatorsAllowed = settings->value("game/spectatorsallowed", true).toBool();
spectatorsNeedPassword = settings->value("game/spectatorsneedpassword", false).toBool(); spectatorsNeedPassword = settings->value("game/spectatorsneedpassword", false).toBool();
spectatorsCanTalk = settings->value("game/spectatorscantalk", false).toBool(); spectatorsCanTalk = settings->value("game/spectatorscantalk", false).toBool();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment