0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 01:30:45 -05:00

Fix IL Patch replacing string

This commit is contained in:
CWX 2024-07-08 13:00:24 +01:00
parent a5ff17e4da
commit 163821d824
3 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,6 @@ namespace SPT.SinglePlayer.Patches.MainMenu
var newCode = new CodeInstruction(OpCodes.Ldstr, "SPT-PVE");
codes.RemoveAt(searchIndex);
searchIndex -= 1;
codes.Insert(searchIndex, newCode);
return codes.AsEnumerable();

View File

@ -20,7 +20,7 @@
<Reference Include="UnityEngine" HintPath="..\Shared\Managed\UnityEngine.dll" Private="False" />
<Reference Include="UnityEngine.AudioModule" HintPath="..\Shared\Managed\UnityEngine.AudioModule.dll" Private="False" />
<Reference Include="UnityEngine.CoreModule" HintPath="..\Shared\Managed\UnityEngine.CoreModule.dll" Private="False" />
<Reference Include="UnityEngine.CoreModule" HintPath="..\Shared\Managed\Sirenix.Serialization.dll" Private="False" />
<Reference Include="Sirenix.Serialization" HintPath="..\Shared\Managed\Sirenix.Serialization.dll" Private="False" />
</ItemGroup>
<ItemGroup>

View File

@ -73,7 +73,6 @@ namespace SPT.SinglePlayer
new EnableRefForPVEPatch().Enable();
new EnableRefIntermScreenPatch().Enable();
new EnablePlayerScavPatch().Enable();
}
catch (Exception ex)
{