mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-16 22:31:03 -08:00
Make edge case where building is replaceable but unremovable an assertAlways.
This commit is contained in:
parent
c7e0703c45
commit
54653cf28e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue