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

Support FoundryVTT v9 API #88

Closed pchouzenoux closed 2 years ago

pchouzenoux commented 2 years ago

Changes are only to support FoundryVTT v9 API.

pchouzenoux commented 2 years ago

I will approve, to get those changes through... but could you also add:

    static stopAllAnimationGM() {
        MarkerAnimation.stopAllAnimation()
        game.socket.emit(socketName, {
            stopAllAnimation: 'all'
        });
    }

Done ! I made the change