mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Fix duplicate cards bug
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = class Card {
|
||||
}
|
||||
|
||||
get pokersolverKey() {
|
||||
if (this.value === 'Joker') return null;
|
||||
if (this.value === 'Joker') return 'Or';
|
||||
let suitLetter;
|
||||
switch (this.suit) {
|
||||
case 'clubs': suitLetter = 'c'; break;
|
||||
|
||||
Reference in New Issue
Block a user