From fc2958bea129c5545003d775d3766b0375a547fe Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 28 Aug 2023 13:36:36 +0200
Subject: [PATCH] update \showAttribute

---
 CS.tex     | 12 ++++++------
 layout.sty |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/CS.tex b/CS.tex
index 84e69a72..1afe3258 100644
--- a/CS.tex
+++ b/CS.tex
@@ -53,12 +53,12 @@
     \addtolength{\tabcolsep}{-0.53em}
     \begin{tabular}{lcccccccccc}
     & \tiny{-4} & \tiny{-3} & \tiny{-2} & \tiny{-1} & \tiny{0} & \tiny{1} & \tiny{2} & \tiny{3} & \tiny{4} \\
-    \showAttribute{Strength}{Strength}
-    \showAttribute{Dexterity}{Dexterity}
-    \showAttribute{Speed}{Speed}
-    \showAttribute{Intelligence}{Intelligence}
-    \showAttribute{Wits}{Wits}
-    \showAttribute{Charisma}{Charisma}
+    \showAttribute{Strength}
+    \showAttribute{Dexterity}
+    \showAttribute{Speed}
+    \showAttribute{Intelligence}
+    \showAttribute{Wits}
+    \showAttribute{Charisma}
     \end{tabular}
   }
 
diff --git a/layout.sty b/layout.sty
index 708796b7..ee4c5155 100644
--- a/layout.sty
+++ b/layout.sty
@@ -1014,7 +1014,7 @@ Roll & Result \\
 \newcommand\currentCircle{}
 \newcommand{\weeline}{\line(1,0){30} \hspace{.6cm}}
 
-\newcommand\showAttribute[2]{
+\newcommand\showAttribute[1]{
   \setcounter{track}{-4}%
   {#1}%
   \whileboolexpr{%
@@ -1023,7 +1023,7 @@ Roll & Result \\
   {%
     &%
     \ifnum\value{track}>0%
-      \ifnum\value{track}>\value{#2}%
+      \ifnum\value{track}>\value{#1}%
         \statCircle%
       \else%
         \statDot%
@@ -1032,7 +1032,7 @@ Roll & Result \\
       \ifnum\value{track}=0%
         \raisebox{2pt}{\statDot[\footnotesize]}%
       \else%
-        \ifnum\value{#2}>\value{track}%
+        \ifnum\value{#1}>\value{track}%
           {\Large\Square}%
         \else%
           {\Large\XBox}%
-- 
GitLab