From 15c0f972e96682108060f0b559fe647810ab783e Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:24:41 +0200 Subject: [PATCH] fix(webui): properly deselect active focus school so unlocking is free --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index e48b4f51..e1660171 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -2339,7 +2339,7 @@ function unlockFocusSchool(upgradeType) { $.post({ url: "/api/focus.php?" + window.authz + "&op=5", contentType: "text/plain", - data: "{}" + data: JSON.stringify({ FocusType: null }) }).done(function () { // Unlock the way now $.post({ -- 2.47.2