feat(character): add mounts

This commit is contained in:
Axel Cocat 2022-01-21 14:52:19 +01:00
parent d0eb86daa7
commit b19bd0b0a3
11 changed files with 239 additions and 121 deletions

View file

@ -300,7 +300,9 @@ async function readDbcData(): Promise<void> {
dbcMountDisplayByMountId = {};
for await (const row of dbc.mountDisplay()) {
dbcMountDisplayByMountId[row.mountId] = row;
if (!(row.mountId in dbcMountDisplayByMountId)) {
dbcMountDisplayByMountId[row.mountId] = row;
}
}
}