Skip to content

Commit

Permalink
Validate buildDate for GeneratedBuildListDataManager
Browse files Browse the repository at this point in the history
  • Loading branch information
CordonZeus22 committed Nov 27, 2024
1 parent 86ef081 commit d739f77
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export class GeneratedBuildListDataManager extends DataManager<
return { artifactIds, weaponId }
})
.filter((build) => build !== undefined)

if (!Number.isInteger(buildDate)) buildDate = 0
}

return {
Expand Down

0 comments on commit d739f77

Please sign in to comment.