0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 01: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:
Chomp 2025-01-19 12:03:19 +00:00 committed by GitHub
commit a740deed47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,10 +29,10 @@ namespace SPT.Custom.Patches
codeInstructions[260] = new(OpCodes.Nop);
codeInstructions[261] = new(OpCodes.Nop);
codeInstructions[262] = new(OpCodes.Nop);
codeInstructions[263] = new(OpCodes.Nop);
// 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;
}