Fix WI joiner/mather not being at the start

c45e42ce7d4bdbcd76f81943165045ad8d1b5442

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +3 -2Ignore whitespace
public/scripts/world-info.js+3 -2
@@ -217,8 +217,9 @@ class WorldInfoBuffer {
217217 depth = MAX_SCAN_DEPTH;
218218 }
219219
220220 const JOINERMATCHER = '\n\x01';
221- let result = this.#depthBuffer.slice(this.#startDepth, depth).join(JOINER);
221+ const JOINER = '\n' + MATCHER;
222+ let result = MATCHER + this.#depthBuffer.slice(this.#startDepth, depth).join(JOINER);
222223
223224 if (this.#injectBuffer.length > 0) {
224225 result += JOINER + this.#injectBuffer.join(JOINER);