Make edge case where building is replaceable but unremovable an assertAlways.

This commit is contained in:
hexagonhexagon 2020-06-21 18:11:55 -04:00
parent c7e0703c45
commit 54653cf28e
1 changed files with 2 additions and 2 deletions

View File

@ -203,10 +203,10 @@ export class Blueprint {
"Can not delete entity for blueprint"
);
if (!root.logic.tryDeleteBuilding(contents)) {
logger.error(
assertAlways(
false,
"Building has replaceable component but is also unremovable in blueprint"
);
return false;
}
}
}