1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-06 09:34:05 +00:00

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

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;
}
}
}