mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 20:50:44 -05:00
Fix IL Patch replacing string
This commit is contained in:
parent
a5ff17e4da
commit
163821d824
@ -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();
|
||||
|
@ -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>
|
||||
|
@ -73,7 +73,6 @@ namespace SPT.SinglePlayer
|
||||
new EnableRefForPVEPatch().Enable();
|
||||
new EnableRefIntermScreenPatch().Enable();
|
||||
new EnablePlayerScavPatch().Enable();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user