From 0f0137c2e9875a1e122aae937f55498793ac28b5 Mon Sep 17 00:00:00 2001 From: ScriptSorcerer20 Date: Mon, 19 May 2025 22:12:35 +0200 Subject: [PATCH] added weapon creater --- static/filterWeapons.js | 2 +- templates/calculator.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/filterWeapons.js b/static/filterWeapons.js index d02ed7e..f6d1f39 100644 --- a/static/filterWeapons.js +++ b/static/filterWeapons.js @@ -576,7 +576,7 @@ form.addEventListener('submit', e => { guntype: data.getAll('gun-type') }; - // 2) Add it locally + // 2) Add it local weapons.push(weapon); // 3) Refresh UI diff --git a/templates/calculator.html b/templates/calculator.html index f4bc329..7fff01a 100644 --- a/templates/calculator.html +++ b/templates/calculator.html @@ -115,6 +115,7 @@