diff --git a/src/main.ts b/src/main.ts index a6046591..7a9ccae9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -535,8 +535,8 @@ export default class InitiativeTracker extends Plugin { player ); - this.playerCreatures.set(player.name, creature); this.playerCreatures.delete(existing.name); + this.playerCreatures.set(player.name, creature); const view = this.view; if (view) {