Fix RevealAllSpoilers
This commit is contained in:
parent
2183d2d29d
commit
c1b8739104
@ -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});`
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user