mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: no trees for deprecated tanks
This commit is contained in:
1 parent
ddecff827a
commit
91bd3f7769
1 file changed
+1
-1
@@ -16,7 +16,7 @@ export const XP_MULTIPLIERS = [1, 2, 3, 4, 5, 10];
|
||||
export function TechTreeSection() {
|
||||
const master = Duel.use((state) => state.protagonist.tank);
|
||||
|
||||
if (master.type !== TankType.RESEARCHABLE) return null;
|
||||
if (master.type !== TankType.RESEARCHABLE || master.deprecated) return null;
|
||||
|
||||
const xpMultiplier = TankopediaEphemeral.use((state) => state.xpMultiplier);
|
||||
const mutateTankopediaEphemeral = TankopediaEphemeral.useMutation();
|
||||
|
||||
Reference in new issue
Block a user