Warm only once per session
This commit is contained in:
parent
857c7fb6d0
commit
27f010fc8c
|
@ -189,7 +189,7 @@
|
|||
let boardLabelSelect;
|
||||
const downloadedDictionaries = {};
|
||||
const boardDef = {nbRows: 0, nbColumns: 0, rackLength: 0};
|
||||
|
||||
let warningCustomBoard = false;
|
||||
const playerLetters = [];
|
||||
let currentPlayer = "";
|
||||
|
||||
|
@ -932,8 +932,9 @@
|
|||
? format(_("You changed the board to {0} for language {1}"), newLabel, newLang)
|
||||
: format(_("{0} changed the board to {1} for language {2}"), msg.sender, newLabel, newLang)
|
||||
);
|
||||
if (newLabel !== "15x15-7") {
|
||||
if ((newLabel !== "15x15-7") && (!warningCustomBoard)) {
|
||||
infoMessage(_("Caution, this feature is experimental; any feedback will be appreciated"));
|
||||
warningCustomBoard = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue