Skip to content

Commit ecf98fb

Browse files
committed
Playground stashes broken for a long time? I dunno, but this works for now.
1 parent 86128ac commit ecf98fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Playground.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function setStatus(engine, game, isPartial, partialMove, status) {
4848
status.scores = engine.sidebarScores();
4949
if (game.playerStashes) {
5050
status.stashes = [];
51-
for (let i = 1; i <= game.numPlayers; i++) {
51+
for (let i = 1; i <= engine.numplayers; i++) {
5252
const stash = engine.getPlayerStash(i);
5353
status.stashes.push(stash);
5454
}

0 commit comments

Comments
 (0)