Skip to content

Commit

Permalink
Don't manually add resources
Browse files Browse the repository at this point in the history
  • Loading branch information
legokidlogan committed Feb 4, 2024
1 parent 8404ed2 commit 1f457c4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lua/cfc_parachutes/server/sv_parachute.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,17 +411,3 @@ end )

util.AddNetworkString( "CFC_Parachute_DefineChuteDir" )
util.AddNetworkString( "CFC_Parachute_SelectDesign" )

resource.AddFile( "models/cfc/parachute/chute.mdl" )
resource.AddFile( "models/cfc/parachute/pack.mdl" )

do
local materialPrefix = "materials/" .. CFC_Parachute.DesignMaterialPrefix

for _, matName in pairs( CFC_Parachute.DesignMaterialNames ) do
resource.AddFile( materialPrefix .. matName .. ".vmt" )
end

resource.AddFile( materialPrefix .. "pack" .. ".vmt" )
resource.AddFile( materialPrefix .. "credits" .. ".vmt" )
end

0 comments on commit 1f457c4

Please sign in to comment.