From 440cbed76ad884284a14a613c482f4047e968b36 Mon Sep 17 00:00:00 2001 From: MapleWheels Date: Mon, 26 Jan 2026 16:47:01 -0500 Subject: [PATCH] - Fixed find files in package using the wrong ContentPackage property. --- .../SharedSource/LuaCs/Services/StorageService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();