kckaiwei / TurnMarker-alt

Turn Marker is a module for Foundry VTT that adds an image under a token who is currently active in the combat tracker.
7 stars 16 forks source link

Update to Foundry V9 #91

Closed crnormand closed 2 years ago

crnormand commented 2 years ago

There was only one place where I wasn't sure what the code was trying to do, and I didn't think it hurt to comment it out. It is in the isVisible() method:

/** Not certain what is being check here... if the token is selected, then it is visible?
    if (combatant._controlled) {
        return true;
    }
*/

_controlled doesn't exist anymore for the TokenDocument.