mirror of
https://github.com/norohind/HabZone.git
synced 2025-04-18 23:47:37 +03:00
Fix for unset display setting
This commit is contained in:
parent
20f9bb2e83
commit
b040049c8c
2
load.py
2
load.py
@ -220,7 +220,7 @@ def edsm_data(event):
|
||||
def get_setting():
|
||||
setting = config.getint('habzone')
|
||||
if setting == 0:
|
||||
return DEFAULT_SETTING # Default to Earth-Like
|
||||
return SETTING_DEFAULT # Default to Earth-Like
|
||||
elif setting == SETTING_NONE:
|
||||
return 0 # Explicitly set by the user to display nothing
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user