Changes

nil card_local should not result in (??)
Line 193: Line 193:  
local card_caption = {}
 
local card_caption = {}
 
local card_local = equipment:card_localized_name()
 
local card_local = equipment:card_localized_name()
if card_local ~= false then
+
if card_local then
 
table.insert(card_caption, Formatting:format_stat_with_max(card_name, card_local))
 
table.insert(card_caption, Formatting:format_stat_with_max(card_name, card_local))
 
else
 
else
Anonymous user