diff --git a/src/lib/components/Output/Print/Hull/Armour/index.svelte b/src/lib/components/Output/Print/Hull/Armor.svelte similarity index 75% rename from src/lib/components/Output/Print/Hull/Armour/index.svelte rename to src/lib/components/Output/Print/Hull/Armor.svelte index c22251a..e2b4c63 100644 --- a/src/lib/components/Output/Print/Hull/Armour/index.svelte +++ b/src/lib/components/Output/Print/Hull/Armor.svelte @@ -1,7 +1,7 @@
- {#each armour as layer (layer)} + {#each armor as layer,i (i)}
- {#each _.range(layer.rating) as i (i)} + {#each Array.from({length: layer}) as j}
{/each}
@@ -11,9 +11,9 @@