fix initial setting

This commit is contained in:
Laurent Mazet 2021-04-27 09:50:58 +02:00
parent 27f010fc8c
commit 71df36594d
1 changed files with 1 additions and 1 deletions

View File

@ -1535,7 +1535,7 @@
playerName: getSetting("PlayerName"),
boardLang: getSetting("BoardLang"),
boardLabel: getSetting("BoardLabel"),
bagFactor: BoardList[getSetting("BoardLabel")].factor,
bagFactor: (typeof getSetting("BoardLabel") !== "undefined") ? BoardList[getSetting("BoardLabel")].factor : 1,
version: VERSION,
cmds: cmds
};