fix eslint issues

This commit is contained in:
Laurent Mazet 2021-04-28 22:44:03 +02:00
parent 9b0ea1f0a8
commit 74973874f2
2 changed files with 3 additions and 3 deletions

View File

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