mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
[WebHost] weighted-settings: Include new option types when creating the default settings
This commit is contained in:
@@ -85,6 +85,13 @@ const createDefaultSettings = (settingData) => {
|
||||
newSettings[game][gameSetting]['random-low'] = 0;
|
||||
newSettings[game][gameSetting]['random-high'] = 0;
|
||||
break;
|
||||
|
||||
case 'items-list':
|
||||
case 'locations-list':
|
||||
case 'custom-list':
|
||||
newSettings[game][gameSetting] = [];
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error(`Unknown setting type for ${game} setting ${gameSetting}: ${setting.type}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user