File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
runner/src/main/java/com/codingame/gameengine/runner Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
66
77### 🎁 New feature
88
9- - the [ EndScreenModule] ( playground/extensions/extensions-4-endscreen.md ) is now bundled with the sdk.
9+ - The [ EndScreenModule] ( playground/extensions/extensions-4-endscreen.md ) is now bundled with the sdk.
10+
11+ ### 🐞 Bug fix
12+
13+ - Fixed absence of game summaries from the local test page of SOLO games.
1014
1115## 3.1.0
1216
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ private void runAgents() {
137137 if (validTurn ) {
138138 gameResult .outputs .get ("referee" ).add (refereeStdout .toString ());
139139 refereeStdout .reset ();
140- gameResult .summaries .add (turnInfo .get (InputCommand .SUMMARY ).orElse (null ));
140+ gameResult .summaries .add (turnInfo .get (InputCommand .SUMMARY ).orElse (turnInfo . get ( InputCommand . INFOS ). orElse ( null ) ));
141141 }
142142
143143 if ((validTurn ) && (!turnInfo .get (InputCommand .SCORES ).isPresent ())) {
@@ -425,9 +425,9 @@ public void write(int b) throws IOException {
425425 requireGameNotEnded ();
426426 Properties conf = new Properties ();
427427 initialize (conf );
428-
428+
429429 runAgents ();
430-
430+
431431 referee .destroy ();
432432 destroyPlayers ();
433433 gameEnded = true ;
You can’t perform that action at this time.
0 commit comments