Skip to content

Commit

Permalink
slot component needs prefabName
Browse files Browse the repository at this point in the history
Signed-off-by: Rachel Powers <[email protected]>
  • Loading branch information
Ryex committed Apr 28, 2024
1 parent e2cf366 commit e33022e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/src/ts/virtual_machine/device/slot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class VMDeviceSlot extends VMDeviceMixin(VMDeviceDBMixin(BaseElement)) {

constructor() {
super();
this.subscribe("active-ic");
this.subscribe("active-ic", "prefabName");
}

static styles = [
Expand Down Expand Up @@ -111,7 +111,6 @@ export class VMDeviceSlot extends VMDeviceMixin(VMDeviceDBMixin(BaseElement)) {
/>`;
const template = this.slotOcccupantTemplate();

const activeIc = window.VM.vm.activeIC;
const thisIsActiveIc = this.activeICId === this.deviceID;

const enableQuantityInput = false;
Expand Down

0 comments on commit e33022e

Please sign in to comment.