From 5b9e899c575dbcc71b2c5395d6ab069856811013 Mon Sep 17 00:00:00 2001 From: Etorix <92535668+EtorixDev@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:56:18 -0700 Subject: [PATCH] Questify: Fix mistake. (#448) * Fix oopsie. * Fix oopsie. --- src/equicordplugins/questify/index.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/equicordplugins/questify/index.tsx b/src/equicordplugins/questify/index.tsx index 2c9241527..bc10c2dfd 100644 --- a/src/equicordplugins/questify/index.tsx +++ b/src/equicordplugins/questify/index.tsx @@ -1043,15 +1043,19 @@ export default definePlugin({ replace: "return $2.QUESTIFY=\"questify\",$1" } }, + { + // Adds the "Questify" sort option to the sort dropdown. + find: "NOT_SHAREABLE}", + replacement: { + match: /(?=case (\i.\i).SUGGESTED)/, + replace: "case $1.QUESTIFY:return \"Questify\";" + }, + }, { find: "CLAIMED=\"claimed\",", group: true, replacement: [ - { - // Adds the "Questify" sort option to the sort dropdown. - match: /(?=case (\i.\i).SUGGESTED)/, - replace: "case $1.QUESTIFY:return \"Questify\";" - }, + { // Run Questify's sort function every time due to hook requirements but return // early if not applicable. If the sort method is set to "Questify", replace the