render colors in right order
This commit is contained in:
parent
0afdc0793d
commit
27287b8a00
3 changed files with 11 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue