Skip to content

Commit

Permalink
Update parser.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen3H committed Jul 23, 2024
1 parent 1452a45 commit fa84b9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/squaremap/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@ export const parseNations = async(towns: SquaremapTown[]) => {
}

//#region Add extra stuff
const resNames = raw[nationName].residents

raw[nationName].residents = fastMergeUnique(resNames, town.residents)
raw[nationName].residents = fastMergeUnique(raw[nationName].residents, town.residents)
raw[nationName].councillors = fastMergeUnique(raw[nationName].councillors, town.councillors)

raw[nationName].area += town.area
Expand Down

0 comments on commit fa84b9a

Please sign in to comment.