diff --git a/src/data/layers/factory.tsx b/src/data/layers/factory.tsx index e8b5322..9c3c51d 100644 --- a/src/data/layers/factory.tsx +++ b/src/data/layers/factory.tsx @@ -93,7 +93,7 @@ const factory = createLayer(id, () => { conveyor: { imageSrc: conveyor, name: "Conveyor", - description: "Moves 1 item per tick.", + description: "Moves items at 1 block per second.", tick: 1, ports: { [Direction.Left]: { @@ -107,7 +107,7 @@ const factory = createLayer(id, () => { square: { imageSrc: square, name: "Producer", - description: "Produces 1 square every 1 tick.", + description: "Produces 1 square every 1 second.", tick: 1, outputs: { square: { @@ -707,6 +707,7 @@ const factory = createLayer(id, () => { } function onFactoryMouseLeave() { isMouseHoverShown.value = false; + compHovered.value = undefined; } function onComponentMouseEnter(name: FactoryCompNames | "") { @@ -748,9 +749,18 @@ const factory = createLayer(id, () => { {compHovered.value !== undefined ? (