Fix error when loading settings

remotes/1705377932733043820/tmp_refs/heads/unbroken
Jan Heemstra 2021-09-11 15:28:23 +02:00
parent 59112d3ad3
commit 6f45d87139
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ func load_settings():
file.open(settings_filename, File.READ)
settings = file.get_var()
file.close()
if settings is null:
settings = {}
func apply_settings():
for key in settings.keys():