Added Register and removed gEnhancments (#375)

This commit is contained in:
Patrick12115
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
parent 4cb34b2153
commit cea1992bcd
2 changed files with 2 additions and 1 deletions
@@ -3,7 +3,7 @@
void RegisterUnbreakableRazorSword() {
REGISTER_VB_SHOULD(GI_VB_LOWER_RAZOR_SWORD_DURABILITY, {
if (CVarGetInteger("gEnhancements.Cheats.UnbreakableRazorSword", 0)) {
if (CVarGetInteger("gCheats.UnbreakableRazorSword", 0)) {
*should = false;
}
});
+1
View File
@@ -8,6 +8,7 @@ void InitEnhancements() {
// Cheats
RegisterInfiniteCheats();
RegisterMoonJumpOnL();
RegisterUnbreakableRazorSword();
// Cycle
RegisterEndOfCycleSaveHooks();