Skip to content
Snippets Groups Projects

Fix #5591

Merged Frankly George requested to merge franklygeorge/fc-pregmod:fix-5591 into pregmod-master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -238,7 +238,6 @@ globalThis.rulesAutosurgery = (function() {
@@ -238,7 +238,6 @@ globalThis.rulesAutosurgery = (function() {
continue;
continue;
}
}
if (V.geneticMappingUpgrade >= 2 && slave.health.health >= 0) {
if (V.geneticMappingUpgrade >= 2 && slave.health.health >= 0) {
// @ts-expect-error
if (thisSurgery.genes[key] >= 2 && typeof slave.geneticQuirks[key] !== "string" && slave.geneticQuirks[key] < 2) {
if (thisSurgery.genes[key] >= 2 && typeof slave.geneticQuirks[key] !== "string" && slave.geneticQuirks[key] < 2) {
const add = new App.Medicine.Surgery.Procedures.AddGene(slave, key);
const add = new App.Medicine.Surgery.Procedures.AddGene(slave, key);
geneModProcedure(`surgery to add ${key} to ${his} genetic code`, add);
geneModProcedure(`surgery to add ${key} to ${his} genetic code`, add);
@@ -334,7 +333,7 @@ globalThis.rulesAutosurgery = (function() {
@@ -334,7 +333,7 @@ globalThis.rulesAutosurgery = (function() {
});
});
}
}
if (slave.vagina > 3 && this.Surgery.holes > 0) {
if (slave.vagina > 3 && thisSurgery.holes > 0) {
commitProcedure("a restored pussy", new App.Medicine.Surgery.Procedures.RepairVagina(slave));
commitProcedure("a restored pussy", new App.Medicine.Surgery.Procedures.RepairVagina(slave));
} else if (slave.vagina > 0 && V.surgeryUpgrade === 1 && thisSurgery.holes === 2) {
} else if (slave.vagina > 0 && V.surgeryUpgrade === 1 && thisSurgery.holes === 2) {
commitProcedure("a virgin pussy", new App.Medicine.Surgery.Procedures.RestoreVirginity(slave));
commitProcedure("a virgin pussy", new App.Medicine.Surgery.Procedures.RestoreVirginity(slave));
Loading