Skip to content

Commit

Permalink
By default hide roads for newer wars
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Sep 29, 2024
1 parent ad34cd2 commit cf9b3b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/db/src/Page/WarMap/WarMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ class WarMap extends React.Component<IProps, IState> {
showNonFQSpots: false,
spots: this.props.allSpots,
showRoads:
!donotSpotroad.includes(this.props.warId) && !!this.props.spotRoads.length && !this.props.isEvent,
!donotSpotroad.includes(this.props.warId) &&
!!this.props.spotRoads.length &&
!this.props.isEvent &&
this.props.warId < 400,
};
}

Expand Down

0 comments on commit cf9b3b6

Please sign in to comment.