From 52799064a0e082652db8069b50ffb67f9487903e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Wed, 23 Aug 2023 18:12:03 +0300 Subject: [PATCH] Fix Sploosh weapon preview not showing --- app/features/sendouq/routes/q.match.$id.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/features/sendouq/routes/q.match.$id.tsx b/app/features/sendouq/routes/q.match.$id.tsx index 303cfff23..d801a4369 100644 --- a/app/features/sendouq/routes/q.match.$id.tsx +++ b/app/features/sendouq/routes/q.match.$id.tsx @@ -677,7 +677,8 @@ function AfterMatchActions({ variant="badge" width={32} className={clsx("ml-auto", { - invisible: !weaponsUsage[i][j], + invisible: + typeof weaponsUsage[i][j] !== "number", })} />