Skip to content

Commit c53ebda

Browse files
committed
Format fixes.
1 parent aa51fac commit c53ebda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

module/dcc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global Actors, ActorSheet, Items, ItemSheet, ChatMessage, CONFIG, game, Hooks, Macro, ui, loadTemplates, Handlebars, EntitySheetConfig */
1+
/* global Actors, ActorSheet, Items, ItemSheet, ChatMessage, CONFIG, game, Hooks, Macro, ui, loadTemplates, Handlebars, EntitySheetConfig, TextEditor */
22
/**
33
* DCC
44
*/
@@ -525,7 +525,6 @@ function _createDCCWeaponMacro (data, slot) {
525525

526526
// Replace missing or default weapon icon with our default
527527
if (!macroData.img || macroData.img === 'icons/svg/mystery-man.svg') {
528-
data
529528
if (weaponSlot[0] === 'r') {
530529
macroData.img = EntityImages.imageForItem(data.data.weapon.type)
531530
}

0 commit comments

Comments
 (0)