Skip to content

Commit 96c4836

Browse files
No use if you drop the flag!
1 parent 4b574f4 commit 96c4836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/abstractplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ async function games(pars: { metaGame: string, type: string; }) {
836836
throw new Error(`Could not parse game state for ${g.metaGame}:\n${g.state}`);
837837
}
838838
return { "id": g.id, "metaGame": g.metaGame, "players": g.players, "toMove": g.toMove, "gameStarted": g.gameStarted,
839-
"numMoves": state.stack.length - 1, "variants": state.variants } });
839+
"numMoves": state.stack.length - 1, "variants": state.variants, "commented": g.commented || 0 } });
840840
return {
841841
statusCode: 200,
842842
body: JSON.stringify(returnlist),

0 commit comments

Comments
 (0)