From bcf119f2c4ac587cc8263db8a9fc0581521fdec7 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 28 Sep 2017 22:48:38 +0200 Subject: Implement batch state adding Also fixes the 'hidden states' bug. --- src/components/app/map/groups/TileGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/app/map/groups/TileGroup.js') diff --git a/src/components/app/map/groups/TileGroup.js b/src/components/app/map/groups/TileGroup.js index c41e78a4..0cd4ea59 100644 --- a/src/components/app/map/groups/TileGroup.js +++ b/src/components/app/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 && roomLoad) { + } else if (inSimulation && roomLoad >= 0) { color = convertLoadToSimulationColor(roomLoad); } -- cgit v1.2.3