Fix the player settings page generating yaml files with string keys containing integers

This commit is contained in:
Chris Wilson
2020-10-18 00:51:50 -04:00
parent e0f1f4ecfa
commit c714131b37
3 changed files with 8 additions and 8 deletions

View File

@@ -334,7 +334,7 @@ def roll_settings(weights):
ret.crystals_ganon = get_choice('ganon_open', weights)
extra_pieces = get_choice('triforce_pieces_mode', weights, 'available');
extra_pieces = get_choice('triforce_pieces_mode', weights, 'available')
ret.triforce_pieces_required = get_choice('triforce_pieces_required', weights, 20)
ret.triforce_pieces_required = min(max(1, int(ret.triforce_pieces_required)), 90)