File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2150,7 +2150,10 @@ function SMODS.get_card_areas(_type, _context)
21502150 local t = {
21512151 { object = G .GAME .selected_back , scored_card = G .deck .cards [1 ] or G .deck },
21522152 }
2153- if G .GAME .blind then t [# t + 1 ] = { object = G .GAME .blind , scored_card = G .GAME .blind .children .animatedSprite } end
2153+
2154+ if G .GAME .blind and G .GAME .blind .children and G .GAME .blind .children .animatedSprite then
2155+ t [# t + 1 ] = { object = G .GAME .blind , scored_card = G .GAME .blind .children .animatedSprite }
2156+ end
21542157 if G .GAME .challenge then t [# t + 1 ] = { object = SMODS .Challenges [G .GAME .challenge ], scored_card = G .deck .cards [1 ] or G .deck } end
21552158 for _ , stake in ipairs (SMODS .get_stake_scoring_targets ()) do
21562159 t [# t + 1 ] = { object = stake , scored_card = G .deck .cards [1 ] or G .deck }
You can’t perform that action at this time.
0 commit comments