fix broken watermark links
This commit is contained in:
@@ -2311,7 +2311,7 @@ custom_watermark_link := {
|
||||
field := set["custom_watermark_"+input]
|
||||
array := split_comma(field)
|
||||
#### not blank, has png, is either verified or old link that's probably fine
|
||||
if array.0 != "" and has_png(array.0) and array.1 or else "" != "Not found"
|
||||
if array.0 != "" and (has_png(array.0) and array.1 or else "" != "Not found")
|
||||
then "/magic-mainframe-extras.mse-include/"+field
|
||||
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
||||
}
|
||||
@@ -2321,7 +2321,7 @@ custom_card_watermark := {
|
||||
field := styling["card_watermark"+tag] or else ""
|
||||
array := split_comma(field)
|
||||
#### not blank, has png, is either verified or old link that's probably fine
|
||||
if array.0 != "" and has_png(array.0) and array.1 or else "" != "Not found"
|
||||
if array.0 != "" and (has_png(array.0) and array.1 or else "" != "Not found")
|
||||
then "/magic-mainframe-extras.mse-include/" + field
|
||||
else if card_watermark_a() != "" then "/magic-mainframe-extras.mse-include/" + card_watermark_a()
|
||||
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
||||
|
||||
Reference in New Issue
Block a user