From 162bd82a9214899517e7167461862467fba0c4f9 Mon Sep 17 00:00:00 2001 From: Jason Gessner Date: Tue, 31 Dec 2024 05:27:38 +0000 Subject: [PATCH] Don't use the card subtypes for faces. --- lib/tasks/cards.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cards.rake b/lib/tasks/cards.rake index 738abe9..a4c31f1 100644 --- a/lib/tasks/cards.rake +++ b/lib/tasks/cards.rake @@ -237,7 +237,7 @@ namespace :cards do i = 0 card['faces'].each do |face| i += 1 - face_subtypes = face.key?('subtypes') ? face['subtypes'] : card['subtypes'] + face_subtypes = face.key?('subtypes') ? face['subtypes'] : [] # There aren't enough cards with multiple faces to worry about optimizing inserts for them. new_face = CardFace.new( card_id: card['id'],