Fix failure to load multi-file resource

Resolves #1971
This commit is contained in:
ds5678 2025-10-26 22:03:53 -07:00
parent 2bd4c056ac
commit 03393d0c22

View File

@ -20,7 +20,7 @@ public sealed class ResourceFile : FileBase
public ResourceFile(string filePath, string name, FileSystem fileSystem) public ResourceFile(string filePath, string name, FileSystem fileSystem)
{ {
Stream = SmartStream.OpenRead(filePath, fileSystem); Stream = SmartStream.OpenReadMulti(filePath, fileSystem);
FilePath = filePath; FilePath = filePath;
Name = name; Name = name;
} }