File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ export function usePokestopMarker({
7878 const questSizes = [ ]
7979 const showcaseIcons = [ ]
8080 const showcaseSizes = [ ]
81+ const canShowInvasionIcons = hasInvasion && ! hasShowcase
8182
82- if ( hasInvasion && ! hasShowcase ) {
83+ if ( canShowInvasionIcons ) {
8384 invasions . forEach ( ( invasion ) => {
8485 if ( invasion . grunt_type ) {
8586 invasionIcons . unshift ( {
@@ -347,7 +348,7 @@ export function usePokestopMarker({
347348 popupY += rewardMod . popupY
348349 } )
349350 }
350- if ( hasEvent && ! hasInvasion && ! hasQuest ) {
351+ if ( hasEvent && ! canShowInvasionIcons && ! hasQuest ) {
351352 events . forEach ( ( event ) => {
352353 if ( event . display_type === 8 ) {
353354 // Only show Kecleon if there's no active showcase blocking it
You can’t perform that action at this time.
0 commit comments