Skip to content

Commit

Permalink
Update EXILED/Exiled.Events/Patches/Generic/Scp079Recontain.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 authored Aug 4, 2024
1 parent 5ec9a21 commit 04d53cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.Events/Patches/Generic/Scp079Recontain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
// return;
new CodeInstruction(OpCodes.Call, PropertyGetter(typeof(Exiled.Events.Events), nameof(Exiled.Events.Events.Instance))),
new(OpCodes.Callvirt, PropertyGetter(typeof(Exiled.Events.Events), nameof(Exiled.Events.Events.Config))),
new(OpCodes.Callvirt, PropertyGetter(typeof(Exiled.Events.Config), nameof(Exiled.Events.Config.ShouldScp079RecontainedWhenNoScps))),
new(OpCodes.Callvirt, PropertyGetter(typeof(Exiled.Events.Config), nameof(Exiled.Events.Config.ShouldRecontainScp079IfNoScpsLeft))),
new(OpCodes.Brfalse_S, ret),
});

Expand Down

0 comments on commit 04d53cd

Please sign in to comment.