From e86589960aa4b682d49aa94279f7f4080be1f124 Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 18 Jul 2026 02:32:40 +0200 Subject: [PATCH] Fix nil showing up in joker description This also reverts commit e6fdbd77bfdc65de275671466135f3ab0f789fb7. --- .editorconfig | 2 +- manifest.json | 2 +- src/joker.lua | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 782d5e0..23a6289 100644 --- a/.editorconfig +++ b/.editorconfig @@ -33,7 +33,7 @@ table_separator_style = none trailing_table_separator = smart # keep/remove/remove_table_only/remove_string_only -call_arg_parentheses = remove +call_arg_parentheses = keep detect_end_of_line = false diff --git a/manifest.json b/manifest.json index 369709d..732da86 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.11.10" + "version": "1.11.11" } \ No newline at end of file diff --git a/src/joker.lua b/src/joker.lua index f58c395..f4d1aa8 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -181,8 +181,8 @@ local esc = SMODS.Joker { loc_vars = function(_, _, card) local extra = card.ability.extra - local normal = Jane.sinister and "" or - pseudorandom_element(escapey_quotes.normal, pseudoseed "EscapeyQuotes") or "" + local normal = Jane.sinister and {"", ""} or + pseudorandom_element(escapey_quotes.normal, pseudoseed "EscapeyQuotes") or {"", ""} local scared = not Jane.sinister and "" or pseudorandom_element(escapey_quotes.scared, pseudoseed "EscapeyQuotes") or ""