diff --git a/content/deck/proud.lua b/content/deck/proud.lua index 4844863b..e265da04 100644 --- a/content/deck/proud.lua +++ b/content/deck/proud.lua @@ -9,13 +9,7 @@ if PB_UTIL.config.suits_enabled then }, unlocked = false, check_for_unlock = function(self, args) - if args.type == 'hand_contents' then - local eval = evaluate_poker_hand(args.cards) - if next(eval['paperback_Spectrum']) then - return true - end - end - return false + return PB_UTIL.spectrum_played() end, } end diff --git a/content/joker/pride_flag.lua b/content/joker/pride_flag.lua index 9aae1a20..80a96aa5 100644 --- a/content/joker/pride_flag.lua +++ b/content/joker/pride_flag.lua @@ -31,13 +31,7 @@ if PB_UTIL.config.suits_enabled then end, check_for_unlock = function(self, args) - if args.type == 'hand_contents' then - local eval = evaluate_poker_hand(args.cards) - if next(eval['paperback_Spectrum']) then - return true - end - end - return false + return PB_UTIL.spectrum_played() end, locked_loc_vars = function(self, info_queue, card) return { key = "j_paperback_pride_flag_spectrums" }