Skip to content

Commit 7bb4c5d

Browse files
committed
Merge pull request #1433 from iGemini/master
Fix for proxies not being generated when no real image is installed.
2 parents d17c8d9 + d5e7647 commit 7bb4c5d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

octgnFX/Octgn.Core/DataExtensionMethods/CardExtensionMethods.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,9 @@ public static string GetPicture(this ICard card)
8383
if (uri == null)
8484
{
8585
uri = new System.Uri(Path.Combine(set.ProxyPackUri, card.GetImageUri() + ".png"));
86-
return uri.LocalPath;
87-
}
88-
else
89-
{
90-
return uri.LocalPath;
86+
card.GenerateProxyImage(set, uri.LocalPath);
9187
}
88+
return uri.LocalPath;
9289
}
9390

9491
public static string GetProxyPicture(this ICard card)

0 commit comments

Comments
 (0)