Skip to content

Commit

Permalink
Fix crash with enhancement tooltips on deck select
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelius7309 committed Dec 20, 2024
1 parent 4a38bb0 commit 2f633bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Documentation
## To do

- Seal

- Challenge
- DeckSkin

Expand All @@ -23,6 +23,7 @@
- PokerHand
- Suit
- Rank
- Seal
- Sticker
- Rarity
- Tag
2 changes: 1 addition & 1 deletion lovely/playing_card.toml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ target = 'functions/common_events.lua'
pattern = '--Fill all remaining info if this is the main desc'
position = 'before'
match_indent = true
payload = '''if card_type == 'Default' or card_type == 'Enhanced' and not _c.replace_base_card then
payload = '''if card_type == 'Default' or card_type == 'Enhanced' and not _c.replace_base_card and card and card.base then
if not _c.no_suit then
local suit = SMODS.Suits[card.base.suit] or {}
if suit.loc_vars and type(suit.loc_vars) == 'function' then
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.0.0~ALPHA-1219e-STEAMODDED"
return "1.0.0~ALPHA-1220a-STEAMODDED"

0 comments on commit 2f633bf

Please sign in to comment.