We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86128ac commit ecf98fbCopy full SHA for ecf98fb
1 file changed
src/components/Playground.js
@@ -48,7 +48,7 @@ function setStatus(engine, game, isPartial, partialMove, status) {
48
status.scores = engine.sidebarScores();
49
if (game.playerStashes) {
50
status.stashes = [];
51
- for (let i = 1; i <= game.numPlayers; i++) {
+ for (let i = 1; i <= engine.numplayers; i++) {
52
const stash = engine.getPlayerStash(i);
53
status.stashes.push(stash);
54
}
0 commit comments