From 0f827738c1781726c78e51928cf437d97a878ded Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 11 Sep 2023 22:25:16 +0200 Subject: Fix query during detailed replay. --- public/common/replay.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/common/replay.js b/public/common/replay.js index 91170bf..0cf6636 100644 --- a/public/common/replay.js +++ b/public/common/replay.js @@ -2,6 +2,8 @@ "use strict" +var replay_query = null + ;(function () { /* global view, player, params, roles, game_log, replay_panel */ @@ -171,7 +173,7 @@ function update_replay_view() { on_update_log(log_start, game_log.length) } -function replay_query(query, params) { +replay_query = function replay_query(query, params) { on_reply(query, rules.query(replay_state, player, query, params)) } -- cgit v1.2.3