This commit is contained in:
srkizer 2024-07-11 19:32:42 +09:00 committed by GitHub
parent 823ec47d67
commit b2089ab667
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ internal sealed class GamePathSharedImmediateTexture : SharedImmediateTexture
try
{
file =
Path.IsPathRooted(this.path)
Path.IsPathRooted(substPath)
? dm.GameData.GetFileFromDisk<TexFile>(substPath, this.path)
: dm.GetFile<TexFile>(substPath) ??
throw new FileNotFoundException("Game file not found.", substPath);