mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-28 00:16:26 +02:00
Fix level checking.
This commit is contained in:
parent
10608a7625
commit
23a05534df
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ def check_level_overground(tags: dict[str, Any]) -> bool:
|
|||
try:
|
||||
levels: map = map(float, tags["level"].replace(",", ".").split(";"))
|
||||
for level in levels:
|
||||
if level <= 0:
|
||||
if level < 0:
|
||||
return False
|
||||
except ValueError:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue