Skip to content

Commit c1c923e

Browse files
committed
add proper nil check for localisation
1 parent f78548d commit c1c923e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

items/spectral.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ local hammerspace = {
249249
return {
250250
vars = {
251251
number_format(card.ability.extra),
252-
number_format(G.GAME.hammerspace_mod_price)
252+
number_format(G.GAME.hammerspace_mod_price or 0)
253253
}
254254
}
255-
end
255+
end,
256256
can_use = function(self, card)
257257
return #G.hand.cards > 0
258258
end,

localization/en-us.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3424,7 +3424,7 @@ return {
34243424
"as if they were {C:dark_edition}Enhancements{}",
34253425
"to cards held in hand",
34263426
"Consumables cost {C:attention}$#1#{} more",
3427-
"{C:inactive}(Currently {C:attention}$#2#{C:inactive}){}"
3427+
"{C:inactive}(Currently {C:attention}$#2#{C:inactive} more){}"
34283428
},
34293429
},
34303430
c_cry_lock = {

0 commit comments

Comments
 (0)