From 0d5acb6cea6006763270da4e8b0ca143fe97459e Mon Sep 17 00:00:00 2001 From: Emik Date: Fri, 5 Jun 2026 01:37:38 +0200 Subject: [PATCH] Prevent nil dereference from Freeze Tag --- manifest.json | 2 +- src/tag.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 9c3e81a..9320c70 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/src/tag.lua b/src/tag.lua index c5d2c06..0a31d24 100644 --- a/src/tag.lua +++ b/src/tag.lua @@ -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