less ../../../

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1355 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
(no author)
2007-07-26 08:20:39 +00:00
parent 87ab32acc8
commit cd70038a3c
9 changed files with 20 additions and 27 deletions

View File

@@ -14,7 +14,7 @@ namespace OpenRa.FileFormats
public Stream GetContent(string filename)
{
try { return File.OpenRead(path + filename); }
catch { throw new FileNotFoundException("File not found", filename); }
catch { return null; }
}
}
}