Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Dec 5, 2023
1 parent b9f097c commit fbb3d93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/core/hud.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fbb3d93

Please sign in to comment.