mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
invert logic
This commit is contained in:
1 parent
ae2839cb83
commit
9692110733
1 file changed
+1
-1
@@ -31,7 +31,7 @@ export function calculateRankings(
|
|||||||
const rankings = new Map<CharacteristicName, CharacteristicRank>();
|
const rankings = new Map<CharacteristicName, CharacteristicRank>();
|
||||||
|
|
||||||
for (const [name, value] of characteristics) {
|
for (const [name, value] of characteristics) {
|
||||||
if (typeof value !== "number" || name[0] !== "_") continue;
|
if (typeof value !== "number" || name[0] === "_") continue;
|
||||||
|
|
||||||
const config = characteristicConfigs.get(name)!;
|
const config = characteristicConfigs.get(name)!;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user