mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 05:50:44 -05:00
Fix incorrect IL instructions (#17)
* Add new transpilers * Cleanup * Fix transpiler * Fix incorrect code instruction --------- Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
parent
f281f952b5
commit
6c9606f62f
@ -29,9 +29,9 @@ namespace SPT.SinglePlayer.Patches.Performance
|
|||||||
List<CodeInstruction> codeList = instructions.ToList();
|
List<CodeInstruction> codeList = instructions.ToList();
|
||||||
|
|
||||||
// These 3 lines remove BotUnityEditorRunChecker.ManualLateUpdate()
|
// These 3 lines remove BotUnityEditorRunChecker.ManualLateUpdate()
|
||||||
codeList[109] = new CodeInstruction(OpCodes.Nop);
|
codeList[112] = new CodeInstruction(OpCodes.Nop);
|
||||||
codeList[108] = new CodeInstruction(OpCodes.Nop);
|
codeList[111] = new CodeInstruction(OpCodes.Nop);
|
||||||
codeList[107].opcode = OpCodes.Nop;
|
codeList[110].opcode = OpCodes.Nop;
|
||||||
|
|
||||||
// These 4 remove the allocation of the Stopwatch and the Start() and Stop()
|
// These 4 remove the allocation of the Stopwatch and the Start() and Stop()
|
||||||
codeList[18] = new CodeInstruction(OpCodes.Nop);
|
codeList[18] = new CodeInstruction(OpCodes.Nop);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user