diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-11 22:25:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-12 11:11:17 +0200 |
commit | 0f827738c1781726c78e51928cf437d97a878ded (patch) | |
tree | bcf467e4c4d1eedb22cf87aea8d7eb20673fecb8 | |
parent | a3ae62afd2eecb3831e2483f94d2db6a1d6bb748 (diff) | |
download | server-0f827738c1781726c78e51928cf437d97a878ded.tar.gz |
Fix query during detailed replay.
-rw-r--r-- | public/common/replay.js | 4 |
1 files changed, 3 insertions, 1 deletions
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)) } |