Skip to content

Commit

Permalink
fix: roll repeating is no longer tied to apply damage button settings
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed Jun 2, 2021
1 parent eea8403 commit c3d2c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion betterrolls5e/scripts/chat-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class BetterRollsChatCard {
*/
async _setupOverlayButtons(html) {
// Add reroll button
if (this.roll?.canRepeat() && BRSettings.chatDamageButtonsEnabled) {
if (this.roll?.canRepeat()) {
const templateHeader = await renderTemplate("modules/betterrolls5e/templates/red-overlay-header.html");
html.find(".card-header").append($(templateHeader));
}
Expand Down

0 comments on commit c3d2c4a

Please sign in to comment.