mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 08:30:45 -05:00
Update prestige tab patch (#24)
Updates the prestige tab patch to push the true to stack one instruction earlier, as well as changing the `ceq` comparison to a `nop`
This commit is contained in:
commit
a740deed47
@ -29,10 +29,10 @@ namespace SPT.Custom.Patches
|
|||||||
codeInstructions[260] = new(OpCodes.Nop);
|
codeInstructions[260] = new(OpCodes.Nop);
|
||||||
codeInstructions[261] = new(OpCodes.Nop);
|
codeInstructions[261] = new(OpCodes.Nop);
|
||||||
codeInstructions[262] = new(OpCodes.Nop);
|
codeInstructions[262] = new(OpCodes.Nop);
|
||||||
codeInstructions[263] = new(OpCodes.Nop);
|
|
||||||
|
|
||||||
// Force a true on the stack instead
|
// Force a true on the stack instead
|
||||||
codeInstructions[264] = new(OpCodes.Ldc_I4_1);
|
codeInstructions[263] = new(OpCodes.Ldc_I4_1);
|
||||||
|
codeInstructions[264] = new(OpCodes.Nop);
|
||||||
|
|
||||||
return codeInstructions;
|
return codeInstructions;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user