mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-27 04:29:50 +01:00
Fix legendary camos
Fixed https://github.com/blitzkit/blitzkit/commit/b540ab781419cbaa693597bf89a2f62962d8295f @tresabhi
This commit is contained in:
1 parent
0d6c508382
commit
049ef58691
2 files changed
+1
-13
No files matched your search
@@ -1,12 +0,0 @@
|
|||||||
import { api } from "../../../core/blitzkit/api";
|
|
||||||
import { mixStaticPaths } from "../../../core/blitzkit/mixStaticPaths";
|
|
||||||
import { getStaticPaths as _getStaticPaths } from "../_index";
|
|
||||||
|
|
||||||
export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => {
|
|
||||||
const tanks = await api.tankDefinitions();
|
|
||||||
|
|
||||||
return Object.values(tanks.tanks).map((tank) => ({
|
|
||||||
params: { id: tank.id },
|
|
||||||
props: { id: tank.id },
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
@@ -24,7 +24,7 @@ import {
|
|||||||
extractMaterials,
|
extractMaterials,
|
||||||
extractModel,
|
extractModel,
|
||||||
} from "../../../[...chunk_models_tanks]/[id]/model.glb";
|
} from "../../../[...chunk_models_tanks]/[id]/model.glb";
|
||||||
import { getStaticPaths as _getStaticPaths } from "../_index";
|
import { getStaticPaths as _getStaticPaths } from "../../_index";
|
||||||
|
|
||||||
const SKIN_NUMBER_SLOTS = 5;
|
const SKIN_NUMBER_SLOTS = 5;
|
||||||
const DIGIT_COLUMNS = 5;
|
const DIGIT_COLUMNS = 5;
|
||||||
|
|||||||
Reference in new issue
Block a user