Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Update check
Browse files Browse the repository at this point in the history
  • Loading branch information
gompoc committed Nov 14, 2021
1 parent 1359c4a commit d527e9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/IntegrityCheckGenerator/IntegrityCheckGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public void Execute(GeneratorExecutionContext context)

generatedCode.AppendLine($"static {modTypeName}() {{");
generatedCode.AppendLine("CheckA();");
generatedCode.AppendLine("var mm = typeof(MelonUtils).GetMethod(\"ToggleObfuscation\"); if(mm != null) { mm.Invoke(null, null); ");
generatedCode.AppendLine("CheckA(); }");
generatedCode.AppendLine("CheckB();");
generatedCode.AppendLine("CheckC();");
generatedCode.AppendLine("CheckD();");
Expand Down

0 comments on commit d527e9a

Please sign in to comment.