diff options
Diffstat (limited to 'features/events/index.js')
-rw-r--r-- | features/events/index.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/features/events/index.js b/features/events/index.js index af8a664..c10e2f8 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -175,7 +175,9 @@ class Events extends Feature { step_5s(){ if(this.showingWaypoints){ if(this.burrialWaypointsPath.getValue() || this.burrialWaypointsNearest.getValue()){ - this.updateBurrialPath() + new Thread(()=>{ + this.updateBurrialPath() + }).start() } } this.sortBurrialLocations() @@ -379,7 +381,9 @@ class Events extends Feature { "chain": -1, "fromApi": false }) - this.updateBurrialPath() + new Thread(()=>{ + this.updateBurrialPath() + }).start() } } } @@ -411,7 +415,9 @@ class Events extends Feature { }) if(this.burrialData.historicalLocations.length > 10) this.burrialData.historicalLocations.pop() if(this.lastPathCords) this.lastPathCords.shift() - this.updateBurrialPath() + new Thread(()=>{ + this.updateBurrialPath() + }).start() } updateBurrialPath(){ if(this.burrialWaypointsPath.getValue() || this.burrialWaypointsNearest.getValue()){ |