fix: missing and invalid types and parameters

This commit is contained in:
Linden
2023-02-25 18:20:14 +11:00
parent b779ea7c3b
commit b3b49b1cbd
6 changed files with 11 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ function lib.requestStreamedTextureDict(textureDict, timeout)
error(("expected textureDict to have type 'string' (received %s)"):format(type(textureDict)))
end
RequestStreamedTextureDict(textureDict)
RequestStreamedTextureDict(textureDict, false)
if coroutine.running() then
timeout = tonumber(timeout) or 500