Skip to content

Commit 99ba469

Browse files
committed
Should work mostly
1 parent 572485a commit 99ba469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/web/player.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function allow_manual_move(player_id, json) {
225225
this.take_auto_action(this.player_id, json);
226226
}
227227
} else if (move === 'AliceEnd' || move === 'BobEnd') {
228-
element.innerHTML = `<h2>Game outcome</h2><div>${game_outcome(json)}</div><div>${JSON.stringify(json.readable)}</div>`;
228+
element.innerHTML = `<h2>Game outcome</h2><div>${game_outcome(player_id, json)}</div><div>${JSON.stringify(json.readable)}</div>`;
229229
} else {
230230
element.innerHTML = `unhandled state ${move}`;
231231
}

0 commit comments

Comments
 (0)