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:
parent
6632a59b64
commit
3acf764097
|
@ -342,7 +342,7 @@ const addSpriteRow = (tbody, playerSettings, spriteName) => {
|
||||||
input.setAttribute('min', '0');
|
input.setAttribute('min', '0');
|
||||||
input.setAttribute('max', '100');
|
input.setAttribute('max', '100');
|
||||||
input.setAttribute('data-setting', `rom.sprite.${spriteName}`);
|
input.setAttribute('data-setting', `rom.sprite.${spriteName}`);
|
||||||
input.value = "0";
|
input.value = "50";
|
||||||
optionValue.appendChild(input);
|
optionValue.appendChild(input);
|
||||||
|
|
||||||
// Value display
|
// Value display
|
||||||
|
|
|
@ -223,8 +223,8 @@ rom:
|
||||||
randomonhit: 0
|
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
|
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
|
disablemusic: # If "on", all in-game music will be disabled
|
||||||
on: 50
|
on: 0
|
||||||
off: 0
|
off: 50
|
||||||
quickswap: # Enable switching items by pressing the L+R shoulder buttons
|
quickswap: # Enable switching items by pressing the L+R shoulder buttons
|
||||||
on: 0
|
on: 0
|
||||||
off: 50
|
off: 50
|
||||||
|
|
|
@ -258,8 +258,8 @@ rom:
|
||||||
randomonhit: 0
|
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
|
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
|
disablemusic: # If "on", all in-game music will be disabled
|
||||||
on: 50
|
on: 0
|
||||||
off: 0
|
off: 50
|
||||||
quickswap: # Enable switching items by pressing the L+R shoulder buttons
|
quickswap: # Enable switching items by pressing the L+R shoulder buttons
|
||||||
on: 0
|
on: 0
|
||||||
off: 50
|
off: 50
|
||||||
|
|
Loading…
Reference in New Issue