Fix RevealAllSpoilers

This commit is contained in:
Vendicated 2023-10-26 00:01:49 +02:00
parent 2183d2d29d
commit c1b8739104
No known key found for this signature in database
GPG Key ID: D66986BAF75ECF18

@ -30,9 +30,9 @@ export default definePlugin({
patches: [
{
find: ".removeObscurity=function",
find: ".removeObscurity=",
replacement: {
match: /(?<=\.removeObscurity=function\((\i)\){)/,
match: /(?<=\.removeObscurity=(\i)=>{)/,
replace: (_, event) => `$self.reveal(${event});`
}
}