From a529b84ae63b157b408555aa7571555a4b9cefee Mon Sep 17 00:00:00 2001 From: Emik Date: Thu, 18 Jun 2026 05:05:32 +0200 Subject: [PATCH] Remove redundant duplicate hook --- manifest.json | 2 +- src/tweaks.lua | 35 ----------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/manifest.json b/manifest.json index bcf42e2..7ebdcc3 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.5", + "version": "2.9.6", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/tweaks.lua b/src/tweaks.lua index 79836b1..c08eb04 100644 --- a/src/tweaks.lua +++ b/src/tweaks.lua @@ -119,38 +119,3 @@ function get_blind_amount(ante, ...) (ante / 2 >= loop and big:new {rem, ante / loop} or (big.constants and big.constants.TEN or big:new {10}):pow(rem))) end - -q { - blocking = false, - no_delete = true, - func = function() - local orig_flip_double_sided = (Bakery_API or {}).flip_double_sided - - if not orig_flip_double_sided then - return false - end - - function Bakery_API.flip_double_sided(card, ...) - if not card.edition or not card.edition.Roland_frozen then - return orig_flip_double_sided(card, ...) - end - end - - q(function() - local scribe = G.P_CENTERS.c_Bakery_Scribe - - if not scribe then - return true - end - - local orig_can_use = scribe.can_use - - function scribe.can_use(...) - return orig_can_use(...) and - (SMODS.Mods.Roland.config.scribable_basket or f(G.jokers.highlighted):all(function(v) - return v.config.center.key ~= "j_Roland_basket" - end)) - end - end) - end, -}