From 5070a82801b3d015e57dfc79f694ead9f5685523 Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:48:31 -0500 Subject: [PATCH] custom watermark bugfix --- data/magic.mse-game/script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index 745694132..a548ce9b2 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -33,7 +33,7 @@ include file: language include file: statistics_script include file: /magic-blends.mse-include/new-blends ############################################################## Versioning -version_date := {"2024-10-01 Template Pack 3.0.0: Magic Modules & Showcase Catchup"} +version_date := {"2024-10-01 Template Pack 3.0.1: Magic Modules & Showcase Catchup - Watermark bugfix"} version := version_date ############################################################## Common filters ############################################################## Utility @@ -2408,7 +2408,7 @@ custom_watermark_link := { 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") - then "/magic-mainframe-extras.mse-include/"+field + then "/magic-mainframe-extras.mse-include/"+array.0 else "/magic-modules.mse-include/watermarks/other/planeswalker.png" } card_watermark_a := {""} @@ -2418,7 +2418,7 @@ custom_card_watermark := { 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") - then "/magic-mainframe-extras.mse-include/" + field + then "/magic-mainframe-extras.mse-include/" + array.0 else if card_watermark_a() != "" then "/magic-mainframe-extras.mse-include/" + card_watermark_a() else "/magic-modules.mse-include/watermarks/other/planeswalker.png" }