From 5ea1ad4c1c22960c6855a2238aaabc3ccdb784a8 Mon Sep 17 00:00:00 2001 From: MapOMatic Date: Sat, 9 Nov 2024 19:26:14 -0500 Subject: [PATCH] Fix "out of region" matches --- WME-Place-Harmonizer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WME-Place-Harmonizer.js b/WME-Place-Harmonizer.js index 67858bd..6aca1f9 100644 --- a/WME-Place-Harmonizer.js +++ b/WME-Place-Harmonizer.js @@ -1,7 +1,7 @@ // ==UserScript== // @name WME Place Harmonizer Beta // @namespace WazeUSA -// @version 2024.10.27.000 +// @version 2024.11.09.000 // @description Harmonizes, formats, and locks a selected place // @author WMEPH Development Group // @include /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/ @@ -1491,7 +1491,6 @@ // if (!matchInfo.allowMultiMatch) { // return [pnhEntry]; // } - matchInRegion = true; if (matchInfo.matchOutOfRegion) { // PNH match found (once true, stays true) matchOutOfRegion = true; @@ -1501,6 +1500,7 @@ // temp order number for approval return pnhOrderNum.push(pnhEntry.order); } else { + matchInRegion = true; matchPNHRegionData.push(pnhEntry); } }