diff --git a/website/index.php b/website/index.php index 61b703c9..4d310028 100644 --- a/website/index.php +++ b/website/index.php @@ -243,6 +243,7 @@ if (isset($_SESSION['steamid'])) { ?> +
@@ -265,10 +266,22 @@ if (isset($_SESSION['steamid'])) {
+ $weapon): ?> - + " alt="" class="item-image"> -
- -
+
@@ -304,7 +315,6 @@ if (isset($_SESSION['steamid'])) {
- @@ -580,6 +590,11 @@ if (isset($_SESSION['steamid'])) { if (skinsData[knifeType]) { // This knife type has multiple skins Object.entries(skinsData[knifeType]).forEach(([paintId, skin]) => { + // Skip the default skin (paint ID 0) since we already show it as "Default" option above + if (paintId == '0') { + return; + } + const skinOption = document.createElement('div'); skinOption.className = 'skin-option';