Added item icon on hotbar drop (#54)

This commit is contained in:
Vlyan
2024-05-12 12:20:55 +02:00
parent 5687a2f34b
commit 2eead2f22f
5 changed files with 59 additions and 20 deletions

View File

@@ -685,9 +685,9 @@ export class DicePickerDialog extends FormApplication {
macro = await Macro.create({
name,
type: "script",
scope: "global",
scope: "actor",
command,
img: this._actor?.img ? this._actor.img : "systems/l5r5e/assets/dices/default/ring_et.svg",
img: this._actor?.img || "systems/l5r5e/assets/dices/default/ring_et.svg",
});
}