Add InjectItemCounts to the migrator. (#4466)

This commit is contained in:
Malkierian 2024-10-22 09:46:50 -07:00 committed by GitHub
parent a005075bd2
commit dee885622e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,5 +77,11 @@ namespace SOH {
}
CVarClear(migration.from.c_str());
}
if (conf->Contains("CVars.gEnhancements.InjectItemCounts")) {
CVarClear("gEnhancements.InjectItemCounts");
CVarSetInteger("gEnhancements.InjectItemCounts.GoldSkulltula", 1);
CVarSetInteger("gEnhancements.InjectItemCounts.HeartContainer", 1);
CVarSetInteger("gEnhancements.InjectItemCounts.HeartPiece", 1);
}
}
}