Put common options first (#774)
* this applies to yaml and webhost * this allows overwriting common options from the world
This commit is contained in:
parent
aa954b776d
commit
8e15fe51b6
|
@ -60,7 +60,7 @@ def create():
|
|||
|
||||
for game_name, world in AutoWorldRegister.world_types.items():
|
||||
|
||||
all_options = {**world.options, **Options.per_game_common_options}
|
||||
all_options = {**Options.per_game_common_options, **world.options}
|
||||
res = Template(open(os.path.join("WebHostLib", "templates", "options.yaml")).read()).render(
|
||||
options=all_options,
|
||||
__version__=__version__, game=game_name, yaml_dump=yaml.dump,
|
||||
|
|
Loading…
Reference in New Issue