mirror of
https://github.com/CFC-Servers/cfc_chip_lister.git
synced 2025-03-04 03:03:14 -05:00
Lint
This commit is contained in:
parent
afa0504016
commit
b9394a84e7
@ -1,9 +1,4 @@
|
||||
local listerPanel
|
||||
local matChipLister = CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
|
||||
["$basetexture"] = "cfc_chiplister_rt",
|
||||
["$model"] = 1,
|
||||
} )
|
||||
|
||||
|
||||
local function createListerPanel()
|
||||
if IsValid( listerPanel ) then
|
||||
@ -27,6 +22,11 @@ local function createListerPanel()
|
||||
end
|
||||
|
||||
|
||||
CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
|
||||
["$basetexture"] = "cfc_chiplister_rt",
|
||||
["$model"] = 1,
|
||||
} )
|
||||
|
||||
concommand.Add( "cfc_chiplister_open_hud", createListerPanel, nil, "Opens the Chip Lister as a HUD element." )
|
||||
net.Receive( "CFC_ChipLister_OpenHUD", createListerPanel )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user