From fbb3d93def2fd5b8ad0ab83e3bf3a1b0a5602e80 Mon Sep 17 00:00:00 2001 From: theripper93 Date: Tue, 5 Dec 2023 10:50:50 +0100 Subject: [PATCH] a --- scripts/core/hud.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/core/hud.js b/scripts/core/hud.js index a461b92..f962962 100644 --- a/scripts/core/hud.js +++ b/scripts/core/hud.js @@ -186,7 +186,8 @@ export class CoreHUD extends Application{ _onUpdateToken(tokenDocument, updates) { if (tokenDocument !== this._token?.document) return; - this.components.movement?.onTokenUpdate(updates); + if(updates.actorId) this.bind(tokenDocument); + else this.components.movement?.onTokenUpdate(updates); } _onControlToken(token, controlled) {