diff options
| author | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2021-01-06 18:49:46 +0100 |
|---|---|---|
| committer | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2021-01-06 18:49:46 +0100 |
| commit | 396d900cac17e890700e0f56623278fbd90ea245 (patch) | |
| tree | efc476d3db41af14a3e3818f2b1177940daf18a7 /webAO | |
| parent | 80f541a0bbb9477109b8c061085a7bc599cb76e9 (diff) | |
don't overwrite the ooc in singleplayer
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index 8ff0453..6a7733d 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -737,11 +737,13 @@ class Client extends EventEmitter { * @param {Array} args packet arguments */ handleCT(args) { + if (mode !== "replay") { const oocLog = document.getElementById("client_ooclog"); oocLog.innerHTML += `${prepChat(args[1])}: ${prepChat(args[2])}\r\n`; if (oocLog.scrollTop > oocLog.scrollHeight - 600) { oocLog.scrollTop = oocLog.scrollHeight; } + } } /** |
