mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
cleanup of trim code (#1283)
This commit is contained in:
@@ -149,8 +149,9 @@ export class HUDPuzzleEditorSettings extends BaseHUDPart {
|
|||||||
assertAlways(false, "Failed to re-place building in trim");
|
assertAlways(false, "Failed to re-place building in trim");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (building.components.ConstantSignal) {
|
for (const key in building.components) {
|
||||||
result.components.ConstantSignal.signal = building.components.ConstantSignal.signal;
|
/** @type {import("../../../core/global_registries").Component} */ (building
|
||||||
|
.components[key]).copyAdditionalStateTo(result.components[key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user