Fix RevealAllSpoilers
This commit is contained in:
parent
2183d2d29d
commit
c1b8739104
1 changed files with 2 additions and 2 deletions
|
@ -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