Skip to content

Commit

Permalink
Fix FindingPosition Patch Scp2536 never appear & version
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Dec 26, 2024
1 parent 3756ffa commit df5c2ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion EXILED/EXILED.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<PropertyGroup>
<!-- This is the global version and is used for all projects that don't have a version -->
<Version Condition="$(Version) == ''">9.1.1</Version>
<Version Condition="$(Version) == ''">9.1.0</Version>
<!-- Enables public beta warning via the PUBLIC_BETA constant -->
<PublicBeta>false</PublicBeta>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,10 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
new(OpCodes.Callvirt, PropertyGetter(typeof(FindingPositionEventArgs), nameof(FindingPositionEventArgs.IsAllowed))),
new(OpCodes.Brfalse_S, continueLabel),

// foundSpot = ev.Spawnpoint;
new(OpCodes.Ldarg_2),
// scp2536Spawnpoint = ev.Spawnpoint;
new(OpCodes.Ldloc_S, ev.LocalIndex),
new(OpCodes.Callvirt, PropertyGetter(typeof(FindingPositionEventArgs), nameof(FindingPositionEventArgs.Spawnpoint))),
new(OpCodes.Stind_Ref),

new(OpCodes.Br_S, continueLabel),
new(OpCodes.Stloc_S, 4),
});

for (int z = 0; z < newInstructions.Count; z++)
Expand Down

0 comments on commit df5c2ff

Please sign in to comment.