FF1: set up special settings page (remote website)

This commit is contained in:
Fabian Dill
2022-02-20 21:54:00 +01:00
parent a98cb040b7
commit 1159137c0d
6 changed files with 30 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ def create():
with open(os.path.join(target_folder, 'player-settings', game_name + ".json"), "w") as f:
json.dump(player_settings, f, indent=2, separators=(',', ': '))
if not world.hidden:
if not world.hidden and world.web.settings_page is True:
weighted_settings["baseOptions"]["game"][game_name] = 0
weighted_settings["games"][game_name] = {}
weighted_settings["games"][game_name]["gameSettings"] = game_options