mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Further work on the energy generator
This commit is contained in:
@@ -40,7 +40,7 @@ export class WiredPinsComponent extends Component {
|
||||
* @param {object} param0
|
||||
* @param {Array<WirePinSlotDefinition>} param0.slots
|
||||
*/
|
||||
constructor({ slots }) {
|
||||
constructor({ slots = [] }) {
|
||||
super();
|
||||
this.setSlots(slots);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user