summaryrefslogtreecommitdiff
path: root/src/components/map/groups/TileGroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/map/groups/TileGroup.js')
-rw-r--r--src/components/map/groups/TileGroup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/map/groups/TileGroup.js b/src/components/map/groups/TileGroup.js
index 3de712d1..c7991507 100644
--- a/src/components/map/groups/TileGroup.js
+++ b/src/components/map/groups/TileGroup.js
@@ -20,7 +20,7 @@ const TileGroup = ({tile, newTile, inSimulation, roomLoad, onClick}) => {
let color = ROOM_DEFAULT_COLOR;
if (newTile) {
color = ROOM_IN_CONSTRUCTION_COLOR;
- } else if (inSimulation) {
+ } else if (inSimulation && roomLoad) {
color = convertLoadToSimulationColor(roomLoad);
}