fix cancel

This commit is contained in:
Laurent Mazet 2020-11-19 21:30:23 +01:00
parent 9d041e812e
commit 540e5e8920
1 changed files with 1 additions and 1 deletions

View File

@ -1885,7 +1885,7 @@
format(_("{0} points will be added to the following player '{1}'"), totalScore, currentPlayer),
Object.getOwnPropertyNames(tablePlayers),
function (name) {
if (currentPlayer === "") {
if ((currentPlayer === "") || (currentPlayer === null)) {
return;
}
if (currentPlayer !== name) {