Fix RevealAllSpoilers
This commit is contained in:
parent
2183d2d29d
commit
c1b8739104
|
@ -30,9 +30,9 @@ export default definePlugin({
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: ".removeObscurity=function",
|
find: ".removeObscurity=",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=\.removeObscurity=function\((\i)\){)/,
|
match: /(?<=\.removeObscurity=(\i)=>{)/,
|
||||||
replace: (_, event) => `$self.reveal(${event});`
|
replace: (_, event) => `$self.reveal(${event});`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue