Fixed 'none' optic being svg when rolled

This commit is contained in:
DWW 2021-12-26 16:59:53 +02:00
parent f796eee6a6
commit 943a1b0829

View File

@ -377,7 +377,7 @@ function randomize_attachments_single(weapon)
if (pick == weapon.optic.length) if (pick == weapon.optic.length)
{ {
result.push(0); result.push(0);
result.push("images/attachments/optics/none.svg"); result.push("images/attachments/optics/none.png");
result.push(""); result.push("");
} }
else else