diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/StorageService.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/StorageService.cs index cf590839b..c78decde0 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/StorageService.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/StorageService.cs @@ -267,8 +267,8 @@ public class StorageService : IStorageService try { var fullPath = localSubfolder.IsNullOrWhiteSpace() - ? Path.GetFullPath(package.Path) - : Path.GetFullPath(package.Path, localSubfolder); + ? Path.GetFullPath(package.Dir) + : Path.GetFullPath(package.Dir, localSubfolder); return System.IO.Directory.GetFiles(fullPath, regexFilter, searchRecursively ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly) .ToImmutableArray();