Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/KC3Kai/kancolle-replay in…
Browse files Browse the repository at this point in the history
…to gh-pages
  • Loading branch information
fourinone41 committed Oct 14, 2024
2 parents 6c584c5 + 5965721 commit b423efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/simulator-ui/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ window.CONVERT = {
for (let i=0; i<shipReplay.equip.length; i++) {
let equipSave = { mstId: shipReplay.equip[i] };
if (shipReplay.stars && shipReplay.stars[i] > -1) equipSave.level = shipReplay.stars[i];
if (shipReplay.ace && shipReplay.ace[i] > -1) equipSave.rank = shipReplay.ace[i];
if (shipReplay.ace != null) equipSave.rank = Math.max(0,shipReplay.ace[i]);
shipSave.equips.push(equipSave);
}
shipsSave.push(shipSave);
Expand Down

0 comments on commit b423efb

Please sign in to comment.