From aac4678887614a7dc873f5389247b3864fb7d185 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sun, 16 Feb 2020 00:30:20 -0500 Subject: [PATCH] hide image --- src/uncategorized/longSlaveDescription.tw | 2 +- src/utility/miscWidgets.tw | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw index 6e55b24030e..ce246bfad8e 100644 --- a/src/uncategorized/longSlaveDescription.tw +++ b/src/uncategorized/longSlaveDescription.tw @@ -4,7 +4,7 @@ <<setLocalPronouns $activeSlave>> /* 000-250-006 */ -<<if $seeImages == 1>> +<<if $seeImages == 1 && $eventDescription != 1>> <<if $imageChoice == 1>> <div class="imageRef lrgVector"><div class="mask"> </div><<= SlaveArt($activeSlave, 3, 0)>></div> <<else>> diff --git a/src/utility/miscWidgets.tw b/src/utility/miscWidgets.tw index 375ca2622f1..416b17605a5 100644 --- a/src/utility/miscWidgets.tw +++ b/src/utility/miscWidgets.tw @@ -580,7 +580,9 @@ $args[0]: Slave. <</replace>> <<replace #longSlaveDescription>> <p> + <<set _eventDescription = $eventDescription, $eventDescription = 1>> <<include "Long Slave Description">> + <<set $eventDescription = _eventDescription>> </p> <</replace>> <</link>> -- GitLab