From 13e11e4e09c22245d599a5e9dc95a8e9e6e3496d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 2 Feb 2024 18:17:53 -0600 Subject: [PATCH] feat: remove shot on tank switch --- src/app/tools/tankopedia/[id]/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/tools/tankopedia/[id]/page.tsx b/src/app/tools/tankopedia/[id]/page.tsx index 9ecf0053c..3f309941c 100644 --- a/src/app/tools/tankopedia/[id]/page.tsx +++ b/src/app/tools/tankopedia/[id]/page.tsx @@ -49,6 +49,7 @@ export default function Page({ params }: { params: { id: string } }) { [0, 0, 0], [0, 0, 0], ]; + draft.shot = undefined; }); function handleKeyDown(event: KeyboardEvent) {