[26] fix changing overlay image

This commit is contained in:
meisnate12 2022-11-18 14:01:55 -05:00
parent f853209790
commit 197b1c476c
2 changed files with 5 additions and 1 deletions

View file

@ -1 +1 @@
1.18.0-develop25 1.18.0-develop26

View file

@ -279,6 +279,10 @@ class DataFile:
all_init_defaults[dk] = dv all_init_defaults[dk] = dv
elif input_value is None: elif input_value is None:
optional.append(str(input_key)) optional.append(str(input_key))
if input_key in variables:
variables.pop(input_key)
if input_key in added_vars:
added_vars.pop(input_key)
elif overwrite_call: elif overwrite_call:
variables[input_key] = input_value variables[input_key] = input_value
else: else: