mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-14 17:23:55 +00:00
fix(resource/streaming): print default when limit is nil
This commit is contained in:
1 file changed
+1
-1
@@ -4,7 +4,7 @@ local function hasLoaded(fn, type, request, limit)
|
||||
Wait(0)
|
||||
timeout -= 1
|
||||
if timeout < 1 then
|
||||
return print(('Unable to load %s after %s ticks (%s)'):format(type, limit, request))
|
||||
return print(('Unable to load %s after %s ticks (%s)'):format(type, limit or 100, request))
|
||||
end
|
||||
end
|
||||
return request
|
||||
|
||||
Reference in new issue
Block a user