fix: non depricated tier 1

This commit is contained in:
TrèsAbhi committed 2024-09-01 23:06:40 -05:00
1 parent a5bbbfc960
commit 720eb77341
1 file changed
+5 -1
@@ -27,7 +27,11 @@ export function TechTreeSection() {
return [line];
} else {
if (root.ancestors.length === 1 || root.tier === 2) {
line.push(root.ancestors[0]);
line.push(
root.ancestors.find(
(ancestor) => !awaitedTankDefinitions[ancestor].deprecated,
) ?? root.ancestors[0],
);
return extend(line);
} else {
return root.ancestors