espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Give controlled param a default in case undefined is passed #255

Closed rsimoes closed 3 years ago

rsimoes commented 3 years ago

The controlToken hook can be called before the canvas is ready, so this.tokens?.controlled may be undefined.