Skip to content

Commit

Permalink
Maybe fix card generation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocontrini committed Oct 25, 2023
1 parent 92370a2 commit 9533599
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/maps/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class Card {

// If the map is available, overlay the image
if (mapPath && typeof mapPath == 'string') {
img.draw(`image over 0,116 0,0 '${mapPath}'`);
img.draw(`image over 0,116 0,0 '${__dirname}/shadow.png`);
img.draw(`image over 272.5,330.5 0,0 '${__dirname}/pin.png`);
img.draw(`image over 0,116 0,0 ${mapPath}`);
img.draw(`image over 0,116 0,0 ${__dirname}/shadow.png`);
img.draw(`image over 272.5,330.5 0,0 ${__dirname}/pin.png`);
}

// Set the font
Expand Down

0 comments on commit 9533599

Please sign in to comment.