Fix a bug in player-settings causing new sprite entries to display the input at a zero, while the true value is 50. Also fix playerSettings.yaml to not default to disabling in-game music.

This commit is contained in:
Chris Wilson 2020-09-05 19:10:48 -04:00
parent 6632a59b64
commit 3acf764097
3 changed files with 5 additions and 5 deletions

View File

@ -342,7 +342,7 @@ const addSpriteRow = (tbody, playerSettings, spriteName) => {
input.setAttribute('min', '0');
input.setAttribute('max', '100');
input.setAttribute('data-setting', `rom.sprite.${spriteName}`);
input.value = "0";
input.value = "50";
optionValue.appendChild(input);
// Value display

View File

@ -223,8 +223,8 @@ rom:
randomonhit: 0
Link: 50 # To add other sprites: open the gui/Creator, go to adjust, select a sprite and write down the name the gui calls it
disablemusic: # If "on", all in-game music will be disabled
on: 50
off: 0
on: 0
off: 50
quickswap: # Enable switching items by pressing the L+R shoulder buttons
on: 0
off: 50

View File

@ -258,8 +258,8 @@ rom:
randomonhit: 0
Link: 50 # To add other sprites: open the gui/Creator, go to adjust, select a sprite and write down the name the gui calls it
disablemusic: # If "on", all in-game music will be disabled
on: 50
off: 0
on: 0
off: 50
quickswap: # Enable switching items by pressing the L+R shoulder buttons
on: 0
off: 50