Skip to content

Commit

Permalink
Filter files from sound kits that has no paths
Browse files Browse the repository at this point in the history
Unsure what's triggering this - for some reason we fail to find a path
for file 2144118 which has a path in the listfile, but it isn't picked
up.

Logically however code can't cope with path being null, so remove the
possibility and move on with life.
  • Loading branch information
Meorawr committed Dec 31, 2024
1 parent 0a366ec commit a0d4a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exporter/SQL/Setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ INNER JOIN
LEFT OUTER JOIN
File ON File.Id = SoundKitEntry.FileId
WHERE
File.Path IS NULL OR (File.Path LIKE "sound/%" AND NOT IsMusicFileExcluded(File.Id, File.Path, File.ContentHash))
File.Path LIKE "sound/%" AND NOT IsMusicFileExcluded(File.Id, File.Path, File.ContentHash)
ORDER BY
SoundKitEntry.FileId;

Expand Down

0 comments on commit a0d4a92

Please sign in to comment.