Skip to content
Snippets Groups Projects
Commit 11acfe7e authored by lowercasedonkey's avatar lowercasedonkey
Browse files

actually append the buttons

parent 7e379ddb
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ globalThis.analyzePregnancies = function(mother, cheat) {
}
if (fetus.age < 4 && (V.arcologies[0].FSRestart === "unset" || V.eugenicsFullControl === 1 || mother.breedingMark === 0 || V.propOutcome === 0 || (fetus.fatherID !== -1 && fetus.fatherID !== -6))) {
option = options.addOption(``)
option = options.addOption(`Surgical options`)
.customButton(
"Terminate ovum",
() => {
......@@ -207,7 +207,7 @@ globalThis.analyzePregnancies = function(mother, cheat) {
} else {
App.UI.DOM.appendNewElement("div", el, `Unidentified ova found, no detailed data available.`);
App.UI.DOM.appendNewElement("div", el, `Age: too early for scan.`);
option = options.addOption(``)
option = options.addOption(`Surgical options`)
.customButton(
`Terminate ovum`,
() => {
......@@ -231,6 +231,7 @@ globalThis.analyzePregnancies = function(mother, cheat) {
);
}
}
el.append(options.render());
return el;
function fetusAbnormalities() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment