Hey, you latest update broke function file.Exists...
It should be
Code:
local oldex = file.Exists
function file.Exists(path, sub)
if sub then
if type(sub) == "boolean" then
return oldex(path, "GAME");
else
return oldex(path, sub);
end
else
return oldex(path, "DATA");
end
end
return missed... and also this override should be only on gmod13, or it return false on data folder... in cap some things stopped work after update, because return oldex(path, "DATA"); finding file in game not in data on gmod10.
So please do like this:
Code:
if (file.FindInLua==nil) then
local oldex = file.Exists
function file.Exists(path, sub)
if sub then
print(path);
if type(sub) == "boolean" then
return oldex(path, "GAME");
else
return oldex(path, sub);
end
else
return oldex(path, "DATA");
end
end
end