From e8d0b74a1d4a620a519e1bf698425494c850982f Mon Sep 17 00:00:00 2001 From: Emik Date: Tue, 21 Jul 2026 17:43:37 +0200 Subject: [PATCH] Do not override editions --- manifest.json | 2 +- src/joker.lua | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index ffb1136..4009e83 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.71", + "version": "2.9.72", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/joker.lua b/src/joker.lua index 8a9c636..3318950 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -243,14 +243,15 @@ joker { table.insert(info_queue, G.P_CENTERS.e_Roland_frozen) end, calculate = function(_, _, context) - return (context.selling_self or context.forcetrigger) and f(G.hand.cards):each(function(v) - q { - delay = 0.1, - func = function() - v:set_edition {Roland_frozen = true} - end, - } - end) or nil + return (context.selling_self or context.forcetrigger) and + f(G.hand.cards):where("edition", false):each(function(v) + q { + delay = 0.1, + func = function() + v:set_edition {Roland_frozen = true} + end, + } + end) or nil end, }