File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
def main (args , seed = None , baked_server_options : Optional [Dict [str , object ]] = None ):
25
25
if not baked_server_options :
26
- baked_server_options = get_settings ().server_options
26
+ baked_server_options = get_settings ().server_options .as_dict ()
27
+ assert isinstance (baked_server_options , dict )
27
28
if args .outputpath :
28
29
os .makedirs (args .outputpath , exist_ok = True )
29
30
output_path .cached_path = args .outputpath
@@ -372,7 +373,7 @@ def precollect_hint(location):
372
373
"connect_names" : {name : (0 , player ) for player , name in world .player_name .items ()},
373
374
"locations" : locations_data ,
374
375
"checks_in_area" : checks_in_area ,
375
- "server_options" : baked_server_options . as_dict () ,
376
+ "server_options" : baked_server_options ,
376
377
"er_hint_data" : er_hint_data ,
377
378
"precollected_items" : precollected_items ,
378
379
"precollected_hints" : precollected_hints ,
You can’t perform that action at this time.
0 commit comments