@jamesrock/rockjs 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -637,7 +637,7 @@ export class PlayingCard extends DisplayObject {
637
637
  this.deck = deck;
638
638
  this.value = value;
639
639
  this.suit = suit;
640
- this.rawValue = this.deck.values.indexOf(this.value);
640
+ this.rawValue = (this.deck.values.indexOf(this.value) + 1);
641
641
  this.id = `${this.value}${this.suit}`;
642
642
  this.color = this.deck.getSuitColor(this.suit);
643
643
  this.icon = this.deck.getSuitIcon(this.suit);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamesrock/rockjs",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "utility bliss",
5
5
  "license": "ISC",
6
6
  "author": "James Rock",