From 16485fb3e2b5ef9fcfb72904ef55f61263756096 Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 25 Mar 2025 16:52:36 +0100 Subject: [PATCH] fix: refresh inventory after changing server cheats --- static/webui/script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/webui/script.js b/static/webui/script.js index d786b2b4..530e8091 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -967,6 +967,9 @@ function doChangeSettings() { url: "/custom/config?" + window.authz, contentType: "text/plain", data: JSON.stringify(json, null, 2) + }).then(() => { + // A few cheats affect the inventory response which in turn may change what values we need to show + updateInventory(); }); }); } -- 2.47.2