Do not override editions, again

This commit is contained in:
Emik 2026-07-21 21:57:39 +02:00
parent e8d0b74a1d
commit 1f99826f0b
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 5 additions and 4 deletions

View file

@ -3,7 +3,7 @@
"id": "Roland",
"name": "Roland",
"prefix": "Roland",
"version": "2.9.72",
"version": "2.9.73",
"badge_colour": "8BE9FD",
"display_name": "Roland",
"main_file": "src/main.lua",

View file

@ -73,9 +73,10 @@ SMODS.Tag {
end
if tag.triggered or
(tag.ability.amount or self.config.amount) <= 0 or
((context.card or {}).edition or {}).Roland_frozen or
context.type ~= "Bakery_score_card" then
not context.card or
context.card.edition or
context.type ~= "Bakery_score_card" or
(tag.ability.amount or self.config.amount) <= 0 then
return
end