Fix invalid check for device->isUnderMaintenance() in worldmap (#10778)

Fixes #10751
This commit is contained in:
Jellyfrog
2019-11-04 22:33:58 +01:00
committed by Kevin Krumm
parent 4fe3bca717
commit 75c27ed425

View File

@@ -80,7 +80,7 @@ class WorldMapController extends WidgetController
$device->zOffset = 10000;
if ($device->isUnderMaintenance()) {
if ($status == 0) {
if (in_array(0, $status)) {
return false;
}
$device->markerIcon = 'blueMarker';