Quote:
Originally Posted by Powerlord
I don't know if this will fix the SteamPipe issue or not, but I changed the FileExists calls to pass true as the second argument, which should allow it to read VPK files and directories under custom/
DirExists has no equivalent, though, so it may still fail.
|
Some other changes are needed.
Code:
130 - if(DirExists(path)){
130 + if(DirExists(path, true)){
131 - dirh = OpenDirectory(path);
131 + dirh = OpenDirectory(path, true);
239 - else if (!StrEqual(buffer,"",false) && FileExists(buffer))
239 + else if (!StrEqual(buffer,"",false) && FileExists(buffer, true))
294 - else if (!StrEqual(buffer,"",false) && FileExists(buffer))
294 + else if (!StrEqual(buffer,"",false) && FileExists(buffer, true))