beacon: preserve the Unbuilding prompt during renders

This commit is contained in:
Timmy
2026-04-13 21:58:56 -04:00
committed by Alexander Whitestone
parent aa88937509
commit 7e05a93d5e
2 changed files with 26 additions and 0 deletions

View File

@@ -37,6 +37,12 @@ function renderStrategy() {
function renderAlignment() {
const container = document.getElementById('alignment-ui');
if (!container) return;
if (G.dismantleTriggered && !G.dismantleActive && !G.dismantleComplete && typeof Dismantle !== 'undefined' && Dismantle.triggered) {
Dismantle.renderChoice();
return;
}
if (G.pendingAlignment) {
container.innerHTML = `
<div style="background:#1a0808;border:1px solid #f44336;padding:10px;border-radius:4px;margin-top:8px">