summaryrefslogtreecommitdiff
path: root/src/components/map/groups/RoomGroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/map/groups/RoomGroup.js')
-rw-r--r--src/components/map/groups/RoomGroup.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/map/groups/RoomGroup.js b/src/components/map/groups/RoomGroup.js
index 1c42106a..7c8392aa 100644
--- a/src/components/map/groups/RoomGroup.js
+++ b/src/components/map/groups/RoomGroup.js
@@ -19,7 +19,8 @@ const RoomGroup = ({room, interactionLevel, currentRoomInConstruction, onClick})
return (
<Group onClick={onClick}>
{(() => {
- if (interactionLevel.mode === "RACK" && interactionLevel.roomId === room.id) {
+ if ((interactionLevel.mode === "RACK" || interactionLevel.mode === "MACHINE")
+ && interactionLevel.roomId === room.id) {
return [
room.tileIds
.filter(tileId => tileId !== interactionLevel.tileId)