mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 14:59:26 +02:00
fix eslint
This commit is contained in:
parent
6d49080ca5
commit
6a0605c781
@ -1439,7 +1439,7 @@ export class GameData {
|
|||||||
break;
|
break;
|
||||||
case GameDataType.SETTINGS:
|
case GameDataType.SETTINGS:
|
||||||
valid = Object.entries(JSON.parse(dataStr))
|
valid = Object.entries(JSON.parse(dataStr))
|
||||||
.every(([k, v]: [string, number]) => {
|
.every(([ k, v ]: [string, number]) => {
|
||||||
const index: number = settingIndex(k);
|
const index: number = settingIndex(k);
|
||||||
return index === -1 || Setting[index].options.length > v;
|
return index === -1 || Setting[index].options.length > v;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user