mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: unified max thicknesses
This commit is contained in:
1 parent
c56eaa258d
commit
8199bd550d
8 files changed
+26
-37
No files matched your search
@@ -27,6 +27,8 @@ export async function buildTankModels() {
|
||||
|
||||
await Promise.all(
|
||||
nations.map(async (nation) => {
|
||||
if (nation !== 'japan') return;
|
||||
|
||||
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
|
||||
`${DATA}/${POI.vehicleDefinitions}/${nation}/list.xml.dvpl`,
|
||||
);
|
||||
@@ -43,8 +45,6 @@ export async function buildTankModels() {
|
||||
Object.entries(tanks.root).map(async ([tankKey, tank]) => {
|
||||
const id = toUniqueId(nation, tank.id);
|
||||
|
||||
if (id !== 9489) return;
|
||||
|
||||
console.log(`Building model ${id} @ ${nation}/${tankKey}`);
|
||||
|
||||
const parameters = await readYAMLDVPL<TankParameters>(
|
||||
|
||||
Reference in new issue
Block a user