From 171c3997e69a9d0d5423e9f178a8df342cf24043 Mon Sep 17 00:00:00 2001 From: spjspj Date: Wed, 12 Apr 2017 16:05:54 +1000 Subject: [PATCH 1/2] minor housekeeping --- Utils/gen-card.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/gen-card.pl b/Utils/gen-card.pl index 8d4d633cf2..21d4ba1f30 100755 --- a/Utils/gen-card.pl +++ b/Utils/gen-card.pl @@ -181,7 +181,7 @@ while ($type =~ m/([a-zA-Z]+)( )*/g) { $vars{'subType'} .= "\n this.subtype.add(\"$1\");"; } else { my $st = uc($1); - $vars{'subType'} .= "\n addSuperType(Supertype.$st);"; + $vars{'subType'} .= "\n addSuperType(SuperType.$st);"; } } } From 2a39a8e5cfb5c7dcd92b051bbbcc2ab6c0a1cfda Mon Sep 17 00:00:00 2001 From: spjspj Date: Wed, 12 Apr 2017 16:07:18 +1000 Subject: [PATCH 2/2] minor housekeeping --- Utils/gen-card.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/gen-card.pl b/Utils/gen-card.pl index 21d4ba1f30..42dff27594 100755 --- a/Utils/gen-card.pl +++ b/Utils/gen-card.pl @@ -185,8 +185,8 @@ while ($type =~ m/([a-zA-Z]+)( )*/g) { } } } -$vars{'type'} = join(', ', @types); +$vars{'type'} = join(', ', @types); $vars{'abilitiesImports'} = ''; $vars{'abilities'} = '';