Compare commits
1 Commits
6ab8c38109
...
v4.0.6
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e7fb4d443 |
@@ -13,8 +13,7 @@ class DistanceFilterPatch
|
|||||||
new CodeMatch(OpCodes.Ldc_I4_1),
|
new CodeMatch(OpCodes.Ldc_I4_1),
|
||||||
new CodeMatch(OpCodes.Stloc_0)
|
new CodeMatch(OpCodes.Stloc_0)
|
||||||
)
|
)
|
||||||
.RemoveInstruction()
|
.SetInstruction(
|
||||||
.InsertAndAdvance(
|
|
||||||
new CodeInstruction(OpCodes.Ldsfld,
|
new CodeInstruction(OpCodes.Ldsfld,
|
||||||
AccessTools.Field(typeof(PlayerManager), nameof(PlayerManager.lobbyDistanceFilter))))
|
AccessTools.Field(typeof(PlayerManager), nameof(PlayerManager.lobbyDistanceFilter))))
|
||||||
.InstructionEnumeration();
|
.InstructionEnumeration();
|
||||||
|
|||||||
Reference in New Issue
Block a user