Skip to content

Commit

Permalink
fix invalid notfound errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Python1320 committed Aug 13, 2023
1 parent 6054bc8 commit 06ebed9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ local function parse_mdl(f, fp)
local found
for _,path in next,paths do

local found = dogeneric(("materials/%s/%s.vmt"):format(path,material))
local found1 = dogeneric(("materials/%s/%s.vmt"):format(path,material))
local found2 = dogeneric(("materials/%s/%s.vtf"):format(path,material))
local found3 = dogeneric(("materials/%s/%s.hdr.vtf"):format(path,material))
if found or found2 or found3 then
if found1 or found2 or found3 then
--print("FOUND",path,material)
found=true
found = true
break
end

Expand Down

0 comments on commit 06ebed9

Please sign in to comment.