mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Remove some debug code
This commit is contained in:
@@ -111,7 +111,6 @@ const buildOptionsTable = (settings) => {
|
||||
};
|
||||
|
||||
const updateSetting = (event) => {
|
||||
console.log(event.target.value);
|
||||
const options = JSON.parse(localStorage.getItem('playerSettings'));
|
||||
options[event.target.getAttribute('data-key')] = isNaN(event.target.value) ?
|
||||
event.target.value : parseInt(event.target.value, 10);
|
||||
@@ -142,5 +141,7 @@ const generateGame = (raceMode = false) => {
|
||||
presetData: { player: localStorage.getItem('playerSettings') },
|
||||
playerCount: 1,
|
||||
race: raceMode ? '1' : '0',
|
||||
}).then((response) => {
|
||||
window.location.href = response.data.url;
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user