Add a context menu entry that the gm can use to reset the movement history
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ Hooks.once("socketlib.ready", () => {
|
||||
socket.register("updateCombatantDragRulerFlags", _socketUpdateCombatantDragRulerFlags);
|
||||
});
|
||||
|
||||
export async function updateCombatantDragRulerFlags(combat, combatant, flags) {
|
||||
export function updateCombatantDragRulerFlags(combat, combatant, flags) {
|
||||
const combatId = combat.id;
|
||||
const combatantId = combatant._id;
|
||||
return socket.executeAsGM(_socketUpdateCombatantDragRulerFlags, combatId, combatantId, flags);
|
||||
|
||||
Reference in New Issue
Block a user