Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
59568bf1
Commit
59568bf1
authored
Aug 09, 2015
by
Gavin Bisesi
Browse files
Revert "#1351 Fix"
parent
de1b925b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/settingscache.cpp
View file @
59568bf1
...
@@ -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"
,
fals
e
).
toBool
();
onlyRegistered
=
settings
->
value
(
"game/onlyregistered"
,
tru
e
).
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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment