mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
any sticker slot will have sticker def icon
This commit is contained in:
parent
f3e5779cb1
commit
f71e555ccd
@ -1,5 +1,6 @@
|
||||
local mat_plus = Material("arc9/ui/plus.png")
|
||||
local mat_dash = Material("arc9/ui/dash.png")
|
||||
local mat_stick = Material("arc9/def_att_icons/sticker.png")
|
||||
|
||||
local clicksound = "arc9/newui/uimouse_click.ogg"
|
||||
|
||||
@ -87,6 +88,8 @@ function SWEP:CreateHUD_Slots(scroll)
|
||||
end
|
||||
if ms_slot.DefaultIcon then
|
||||
slotbtn:SetIcon(ms_slot.DefaultIcon)
|
||||
elseif ms_slot.Category == "stickers" then
|
||||
slotbtn:SetIcon(mat_stick)
|
||||
elseif GetConVar("arc9_atts_nocustomize"):GetBool() then
|
||||
slotbtn:SetIcon(mat_dash)
|
||||
else
|
||||
|
BIN
materials/arc9/def_att_icons/sticker.png
Normal file
BIN
materials/arc9/def_att_icons/sticker.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
Loading…
Reference in New Issue
Block a user