diff --git a/module/actor/ship-sheet-sbt.js b/module/actor/ship-sheet-sbt.js index 92b7b67..452f8bb 100644 --- a/module/actor/ship-sheet-sbt.js +++ b/module/actor/ship-sheet-sbt.js @@ -144,6 +144,8 @@ export class MothershipShipSheetSBT extends ActorSheet { } else if (i.type === 'module') { modules.push(i); } else if (i.type == 'repair'){ + i.name = i.name.split('.')[0]; + if(i.system.major){ majorRepairs.push(i); } diff --git a/templates/actor/ship-sheet-sbt.html b/templates/actor/ship-sheet-sbt.html index 5d1dfdf..448de14 100644 --- a/templates/actor/ship-sheet-sbt.html +++ b/templates/actor/ship-sheet-sbt.html @@ -420,7 +420,7 @@