You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2021. It is now read-only.
Describe the bug
In the hook for updateCombat starting at line 62 in turnmarker.js, an exception is thrown if a combatant has no token associated with it.
Describe the bug
In the hook for
updateCombatstarting at line 62 inturnmarker.js, an exception is thrown if a combatant has no token associated with it.Environment Details
Foundry VTT Version: 0.7.5
Turn Marker Version: 2.6.9
To Reproduce
Steps to reproduce the behavior:
game.combat.addCombatant({ name: "DUMMY" });Expected behavior
The turn marker should be removed from the previous token, even if the next combatant has no token.
Screenshots

Additional context
I ran into this while developing a module that modifies the initiative behavior, but this occurs with no modules as well.