Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Sep 19, 2021
1 parent ef1bf4e commit 29304cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Hooks.once("ready", function () {
});

Hooks.on("renderTokenConfig", (app, html, data) => {
let bloodColor = app.object.getFlag("splatter", "bloodColor") || "";
let bloodColor = app.token.getFlag("splatter", "bloodColor") || "";
let newHtml = `<div class="form-group">
<label>${game.i18n.localize("splatter.tokenconfig.bloodColor.name")}</label>
<input type="text" name="flags.splatter.bloodColor" is="colorpicker-input" data-responsive-color value="${bloodColor}">
Expand Down

0 comments on commit 29304cd

Please sign in to comment.