(function () {
"use strict";
- const VERSION = 202004262313;
+ const VERSION = 202005011900;
const Conf = window.TrivabbleConf || {};
moveRack.rack[moveCMD.indexTo] = "";
sendCmds([moveRack, moveCMD]);
} else {
- sendCmds([moveCMD]);
+ // setting the rack is not necessary in most cases, but the
+ // player could have moved some letters of the rack when moving
+ // a tile to the board so let's set the rack in any case
+ // FIXME this could be improved
+ sendCmds([moveCMD, moveRack]);
}
}