mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
fix(resource/streaming): print default when limit is nil
This commit is contained in:
@@ -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