Refactored weapon forms and enhanced styling.

This commit is contained in:
IM23a-spirgif
2025-05-19 22:31:10 +02:00
parent 0f0137c2e9
commit 2217cfbdb8
3 changed files with 158 additions and 40 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ form.addEventListener('submit', e => {
mag_size: parseFloat(data.get('magazin')),
reload_time: parseFloat(data.get('reload-time')),
damage_multiplier: parseFloat(data.get('multiplier')),
guntype: data.getAll('gun-type')
guntype: data.get('gun-type') ? [data.get('gun-type')] : []
};
// 2) Add it local