mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: non depricated tier 1
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user