aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-12-29 21:40:03 +0100
committerstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-12-29 21:40:03 +0100
commit4c6e3d21d633b4935319a8332aa4f68292709c57 (patch)
tree10092d18f95eef9be484bf2c950b78274fc951d2 /webAO/client.js
parent3c77de53e1c23af9dea6e5e3ecd5c17aa21ed5ec (diff)
add wait command in replays
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 60c99b4..dd4d486 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -323,6 +323,9 @@ class Client extends EventEmitter {
`#${this.charID}#${sfx_delay}#${objection_modifier}#${evidence}#${flip}#${realization}#${text_color}#${extra_cccc}${extra_27}${extra_28}%`;
this.sendServer(serverMessage);
+ if (mode === "replay") {
+ document.getElementById("client_ooclog").value += "wait#" + document.getElementById("client_replaytimer").value + "#%\r\n";
+ }
}
/**