Prevent nil dereference from Freeze Tag

This commit is contained in:
Emik 2026-06-05 01:37:38 +02:00
parent 57d559cd5b
commit 0d5acb6cea
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 2 additions and 2 deletions

View file

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

View file

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