mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
add debug setting to load deck and ready on join (#5409)
* new property * refactor deck loading to new method * another new method * works now
This commit is contained in:
parent
8a427955e7
commit
0402d4b853
4 changed files with 37 additions and 3 deletions
|
|
@ -24,4 +24,9 @@ bool DebugSettings::getLocalGameOnStartup()
|
|||
int DebugSettings::getLocalGamePlayerCount()
|
||||
{
|
||||
return getValue("playerCount", "localgame").toInt();
|
||||
}
|
||||
|
||||
QString DebugSettings::getDeckPathForPlayer(const QString &playerName)
|
||||
{
|
||||
return getValue(playerName, "localgame", "deck").toString();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue