mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: migrate tanks
This commit is contained in:
1 parent
a8eb751048
commit
2cfc65a990
19 files changed
+216
-155
No files matched your search
@@ -892,7 +892,13 @@ export async function definitions() {
|
||||
const hullArmor: Armor = { spaced: [], thickness: {} };
|
||||
const equipment = tankDefinition.root.optDevicePreset;
|
||||
tankStringIdMap[`${nation}:${tankKey}`] = tankId;
|
||||
const slug = slugs.get(tank.id)!;
|
||||
const slug = slugs.get(tankId);
|
||||
|
||||
if (slug === undefined) {
|
||||
throw new Error(
|
||||
`Could not find slug for ${nation}/${tankKey} (${tankId})`,
|
||||
);
|
||||
}
|
||||
|
||||
if (tank.sellPrice) {
|
||||
tankPrice = {
|
||||
|
||||
Reference in new issue
Block a user