Skip to content

Commit

Permalink
Fix preloading assets in plugin (rojo-rbx#819)
Browse files Browse the repository at this point in the history
`gatherAssetUrlsRecursive` now returns asset URLs deeper than one layer.
  • Loading branch information
cozywitchcraft authored Dec 4, 2023
1 parent b43b45b commit 23327cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/preloadAssets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function gatherAssetUrlsRecursive(currentTable, currentUrls)
if typeof(value) == "string" then
table.insert(currentUrls, value)
elseif typeof(value) == "table" then
gatherAssetUrlsRecursive(value)
gatherAssetUrlsRecursive(value, currentUrls)
end
end

Expand Down

0 comments on commit 23327cb

Please sign in to comment.