summaryrefslogtreecommitdiff
path: root/src/containers/app/map/layers
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/app/map/layers')
-rw-r--r--src/containers/app/map/layers/RoomHoverLayer.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/containers/app/map/layers/RoomHoverLayer.js b/src/containers/app/map/layers/RoomHoverLayer.js
index 910d47fb..020102bf 100644
--- a/src/containers/app/map/layers/RoomHoverLayer.js
+++ b/src/containers/app/map/layers/RoomHoverLayer.js
@@ -13,10 +13,6 @@ const mapStateToProps = state => {
mapScale: state.map.scale,
isEnabled: () => state.construction.currentRoomInConstruction !== -1,
isValid: (x, y) => {
- if (state.interactionLevel.mode !== "BUILDING") {
- return false;
- }
-
const newRoom = Object.assign(
{},
state.objects.room[state.construction.currentRoomInConstruction]