feat: start of new engine

This commit is contained in:
TrèsAbhi committed 2024-02-26 13:29:05 -06:00
1 parent bdb3844bcc
commit b3a6a47a6a
7 files changed
+82 -627

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ import { create } from 'zustand';
import { persist, subscribeWithSelector } from 'zustand/middleware';
import { ENVIRONMENTS } from '../app/tools/tankopedia/[id]/components/Lighting';
import { TankType, TreeType } from '../components/Tanks';
import isDev from '../core/blitzkrieg/isDev';
import { Tier } from '../core/blitzkrieg/tankDefinitions';
export type TankopediaSortBy = keyof typeof SORT_NAMES;
@@ -123,7 +124,7 @@ export const useTankopediaPersistent = create<TankopediaPersistent>()(
test: 'include',
page: 0,
},
mode: 'model',
mode: isDev() ? 'armor' : 'model',
})),
{ name: 'tankopedia', merge },
),