From d33c08abd4148e6985779fa01133f5f638227de9 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Sat, 25 Feb 2023 22:13:24 +0200 Subject: [PATCH] Reverse append order of WI --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index b995872b4..75b5e8763 100644 --- a/public/index.html +++ b/public/index.html @@ -751,10 +751,10 @@ for (const entry of newEntries) { if (entry.position === world_info_position.after) { - worldInfoAfter = `${worldInfoAfter}${entry.content}\n`; + worldInfoAfter = `${entry.content}${worldInfoAfter}\n`; } else { - worldInfoBefore = `${worldInfoBefore}${entry.content}\n`; + worldInfoBefore = `${entry.content}${worldInfoBefore}\n`; } if (encode(worldInfoBefore + worldInfoAfter).length >= world_info_budget) {