From 0b55274eda3ff0d23ba5a5cbff99bae9ed1a1a80 Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Mon, 17 Aug 2020 02:05:48 +0200 Subject: [PATCH] Fix player marker follow not getting released correctly --- BlueMapCore/src/main/webroot/js/libs/hud/PlayerMarker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCore/src/main/webroot/js/libs/hud/PlayerMarker.js b/BlueMapCore/src/main/webroot/js/libs/hud/PlayerMarker.js index 2022c793..73e9034f 100644 --- a/BlueMapCore/src/main/webroot/js/libs/hud/PlayerMarker.js +++ b/BlueMapCore/src/main/webroot/js/libs/hud/PlayerMarker.js @@ -103,7 +103,7 @@ export default class PlayerMarker extends Marker { onStopFollowing = event => { if(this.follow) { - this.follow = true; + this.follow = false; this.iconElement.removeClass("following"); } };