Show the post-match review of a played Modern kickoff

The review is built from the engine's recording; an engine career draws no
demo desk beneath it and returns to the real desk.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 00:14:44 +01:00
1 parent 7c0e66affe
commit 2d66609ca8
6 files changed
+19 -13

No files matched your search

+2
View File
@@ -100,6 +100,8 @@ Json engine_live_fixture(const Json &recording, const Json &bundle) {
const std::string role = out.value("role", "club") == "national" ? "national" : "club";
out["role"] = role;
if (!out.contains("surface")) out["surface"] = "outdoor";
if (!out.contains("date")) out["date"] = "";
try { out["world"] = bundle.at("desktop").at("meta").at("worldId"); } catch (const std::exception &) { out["world"] = ""; }
// The desk manager's squad in line-up order (the squad after the kickoff).
std::string desk_team;