render colors in right order

This commit is contained in:
Laura Klünder 2018-12-21 19:06:29 +01:00
parent 0afdc0793d
commit 27287b8a00
3 changed files with 11 additions and 4 deletions

View file

@ -93,7 +93,7 @@ class MapRenderer:
category='ground', item=i)
j = 0
for color, areas in altitudearea.colors.items():
for (order, color), areas in altitudearea.colors.items():
# only select ground colors if their access restriction is unlocked
areas = tuple(area for access_restriction, area in areas.items()
if access_restriction in access_permissions)