mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-26 14:30:37 -08:00
cleanup of trim code (#1283)
This commit is contained in:
parent
d3fb22a54a
commit
736fbaed42
1 changed files with 3 additions and 2 deletions
|
|
@ -149,8 +149,9 @@ export class HUDPuzzleEditorSettings extends BaseHUDPart {
|
|||
assertAlways(false, "Failed to re-place building in trim");
|
||||
}
|
||||
|
||||
if (building.components.ConstantSignal) {
|
||||
result.components.ConstantSignal.signal = building.components.ConstantSignal.signal;
|
||||
for (const key in building.components) {
|
||||
/** @type {import("../../../core/global_registries").Component} */ (building
|
||||
.components[key]).copyAdditionalStateTo(result.components[key]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue