diff --git a/scripts/buildAssets/tankArmors.ts b/scripts/buildAssets/tankArmors.ts index ee4e0be98..fcc25f8d7 100644 --- a/scripts/buildAssets/tankArmors.ts +++ b/scripts/buildAssets/tankArmors.ts @@ -20,6 +20,8 @@ export async function buildTankArmors() { await Promise.all( nations.map(async (nation) => { + if (nation !== 'france') return; + const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>( `${DATA}/${DOI.vehicleDefinitions}/${nation}/list.xml.dvpl`, ); @@ -29,7 +31,7 @@ export async function buildTankArmors() { const id = toUniqueId(nation, tank.id); // if (id !== 7297) continue; // 60tp - if (id !== 5137) continue; // tiger ii + // if (id !== 5137) continue; // tiger ii // if (id !== 24609) continue; // concept 1b console.log(`Building armor ${id} @ ${nation}/${tankKey}`); diff --git a/scripts/buildAssets/tankModels.ts b/scripts/buildAssets/tankModels.ts index 79b8798fd..659bb42d8 100644 --- a/scripts/buildAssets/tankModels.ts +++ b/scripts/buildAssets/tankModels.ts @@ -27,6 +27,8 @@ export async function buildTankModels() { await Promise.all( nations.map(async (nation) => { + if (nation !== 'france') return; + const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>( `${DATA}/${DOI.vehicleDefinitions}/${nation}/list.xml.dvpl`, ); @@ -52,7 +54,7 @@ export async function buildTankModels() { // if (id !== 7297) continue; // 60tp // if (id !== 1) continue; // t-34 // if (id !== 6753) continue; // type 71 - if (id !== 5137) continue; // tiger ii + // if (id !== 5137) continue; // tiger ii // if (id !== 11633) continue; // forest witch // if (id !== 6225) continue; // fv215b // if (id !== 4481) continue; // kran diff --git a/src/app/tools/tankopedia/[id]/page.tsx b/src/app/tools/tankopedia/[id]/page.tsx index 711960985..cb427b6d2 100644 --- a/src/app/tools/tankopedia/[id]/page.tsx +++ b/src/app/tools/tankopedia/[id]/page.tsx @@ -24,7 +24,7 @@ export default function Page({ params }: { params: { id: string } }) { draft.model.hullYaw = 0; draft.model.turretYaw = 0; draft.model.gunPitch = 0; - draft.mode = 'armor'; + draft.mode = 'model'; draft.areTanksAssigned = true; if (!draft.areTanksAssigned) return;