From 8f8e39d88f1e2d7b31ce901ea5d0cfa175ed4a9a Mon Sep 17 00:00:00 2001 From: Rupert Rawnsley Date: Wed, 1 Sep 2021 13:36:13 +0100 Subject: [PATCH] Fix for URL fragments not being used for spawn --- src/systems/waypoint-system.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/systems/waypoint-system.js b/src/systems/waypoint-system.js index 384ddeb8ba..9d630f62df 100644 --- a/src/systems/waypoint-system.js +++ b/src/systems/waypoint-system.js @@ -298,6 +298,9 @@ export class WaypointSystem { this.nextMoveToSpawnResolve = resolve; }); } + // Reset system state to allow for waypoint selection based on URL fragments + this.previousWaypointHash = null; + this.initialSpawnHappened = false; return this.nextMoveToSpawn; } moveToWaypoint(waypointComponent, instant) {