|
|
@ -37,7 +37,7 @@ |
|
|
|
for (const stat of actualScope.stats) { |
|
|
|
const found = value.find(v => v.statId == stat.id); |
|
|
|
|
|
|
|
enabledMap[stat.id] = found != null && (!!found?.required || !!found?.acquired); |
|
|
|
enabledMap[stat.id] = found != null && (found?.required > (zeroDeletes ? 0 : -1)); |
|
|
|
requiredMap[stat.id] = found?.required || 0; |
|
|
|
acquiredMap[stat.id] = found?.acquired || 0; |
|
|
|
} |
|
|
|