From 09a11d20104434dda624ccf9e9f60e064120a13c Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 19 Aug 2024 18:35:20 +0200
Subject: [PATCH] actually fix \npcQuote for real this time

---
 layout.sty | 2 +-
 stats.sty  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/layout.sty b/layout.sty
index f318ded0..112365dc 100644
--- a/layout.sty
+++ b/layout.sty
@@ -834,7 +834,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 \newcommand{\name}{}
 \newcommand{\NPCdescription}{}
 \newcommand{\currentQuote}{}
-\newcommand\npcQuote[1]{\renewcommand\currentQuote{#1}}
+\newcommand\npcQuote[1]{\global\renewcommand\currentQuote{#1}}
 \newcommand{\mannerism}{}
 \newcommand{\npcGoal}{}
 \newcommand{\npcsymbol}{\adfast{\value{r4}}}
diff --git a/stats.sty b/stats.sty
index 58a98282..8f5c6550 100644
--- a/stats.sty
+++ b/stats.sty
@@ -443,6 +443,7 @@
 \newcommand{\clean}{%
   \global\togglefalse{snapCaster}%
   \global\togglefalse{weaponMaster}%
+  \npcQuote{}%
   \knacks{}%
   \foreach \s in {Air,Earth,Fate,Fire,Water,Projectiles,Melee,Brawl,Academics,Alchemy,Athletics,Caving,Crafts,Cultivation,Deceit,Empathy,Flight,Medicine,Performance,Larceny,Seafaring,Stealth,Vigilance,Wyldcrafting}%
     {\setcounter{\s}{0}}%
-- 
GitLab