From 1dbc4c4fd15d18cd8406a907be725bec40972042 Mon Sep 17 00:00:00 2001 From: Etorix <92535668+EtorixDev@users.noreply.github.com> Date: Tue, 14 Oct 2025 18:58:37 -0700 Subject: [PATCH] Questify: Don't launch AutoCompleting activity. (#455) * Fix. * Probably works. * Prevent activity launching during enrollment. * Fix duped lines from merging dev. Seriously git, why... --- src/equicordplugins/questify/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/questify/index.tsx b/src/equicordplugins/questify/index.tsx index b67a8b77c..8ede4cc1a 100644 --- a/src/equicordplugins/questify/index.tsx +++ b/src/equicordplugins/questify/index.tsx @@ -1172,6 +1172,11 @@ export default definePlugin({ match: /(\i.intl.string\(\i.\i#{intl::QUESTS_SEE_CODE}\)}\)}},\[)/, replace: "$1questRerenderTrigger," }, + { + // Stop Play Activity Quests from launching the activity. + match: /(?<=,)(\i\(\))(\)}};)/, + replace: "startingAutoComplete&&$1$2" + } ] }, // This patch covers the new entry point blocked in the above group. @@ -1204,7 +1209,7 @@ export default definePlugin({ replace: "...$self.getQuestAcceptedButtonProps(arguments[0].quest,$1)," }, { - // Does the above for Play Activity Quests. + // Does the above for resuming Play Activity Quests. match: /(?<=icon:.{0,15}?onClick:.{0,20}?,text:(\i),fullWidth:!0)/, replace: ",...$self.getQuestAcceptedButtonProps(arguments[0].quest,$1)" }