Skip to content

Commit 284348a

Browse files
committed
Hotfix 2
1 parent b00ce1e commit 284348a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Files/Scripts/Zelda 64.psm1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,11 @@ function LoadModelsList([string]$Category) {
993993
$list += $repo | Sort-Object | select -Unique
994994
}
995995

996+
if (TestFile -Path ($Paths.Models + "\Custom\" + $GameType.mode + " - " + $Category) -Container) {
997+
foreach ($item in Get-ChildItem -LiteralPath ($Paths.Models + "\Custom\" + $GameType.mode + " - " + $Category) -Force) { if ($item.Extension -eq ".ppf" -or $item.Extension -eq ".zobj") { $repo += $item.BaseName } }
998+
$list = $repo | Sort-Object | select -Unique
999+
}
1000+
9961001
$GamePatch.LoadedModelsList[$Category] = @("Original") + $list
9971002

9981003
if ($GamePatch.LoadedModelsList[$Category].Count -eq 0) { return @("No models found?") }

Files/version.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
24.1.11
2-
2024-11-28
3-
1
2+
2024-12-03
3+
2

Info/Changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
v24.1.11
22
- Extra difficulty options for OoT and TSP
3+
- Fixed issue with "Custom" folder for models not showing up
34

45
v24.1.10
56
- Added options for TSP

0 commit comments

Comments
 (0)