Skip to content

Commit

Permalink
Update EXILED/Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
IRacle1 authored Aug 12, 2024
1 parent a64c5fe commit 3fb4e21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
// load ev.ShouldPlaySound and or operation with nw property.
new CodeInstruction(OpCodes.Ldloc_S, ev.LocalIndex),
new(OpCodes.Callvirt, PropertyGetter(typeof(InteractingScp330EventArgs), nameof(InteractingScp330EventArgs.ShouldPlaySound))),
new(OpCodes.Add),
new(OpCodes.And),
});

/* next code will used to override Sever check by EXILED
Expand Down

0 comments on commit 3fb4e21

Please sign in to comment.