Update code for Foundry 0.8.5

This commit is contained in:
Manuel Vögele
2021-05-22 21:57:59 +02:00
parent d11d6385e2
commit 7ba89e4229
7 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ Hooks.on("getCombatTrackerEntryContext", function (html, menu) {
const entry = {
name: "drag-ruler.resetMovementHistory",
icon: '<i class="fas fa-undo-alt"></i>',
callback: li => resetMovementHistory(ui.combat.combat, li.data('combatant-id')),
callback: li => resetMovementHistory(ui.combat.viewed, li.data('combatant-id')),
};
menu.splice(1, 0, entry);
});