From a17a8c464bbf4a2ce115e171e95e8faf06265b16 Mon Sep 17 00:00:00 2001 From: DokaDoka Date: Wed, 17 Nov 2021 19:33:48 +1100 Subject: [PATCH] fix(resource/streaming): use correct variable names --- resource/streaming/client.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/streaming/client.lua b/resource/streaming/client.lua index cb3dd58..25b108e 100644 --- a/resource/streaming/client.lua +++ b/resource/streaming/client.lua @@ -44,7 +44,7 @@ function lib.requestStreamedTextureDict(dict) if HasStreamedTextureDictLoaded(dict) then return true end RequestStreamedTextureDict(dict) if hasLoaded(HasStreamedTextureDictLoaded, dict) then return true end - print(('Unable to load texture dict after 20 ticks (%s)'):format(name)) + print(('Unable to load texture dict after 20 ticks (%s)'):format(dict)) end ---@param fxName string @@ -53,5 +53,5 @@ function lib.requestNamedPtfxAsset(fxName) if HasNamedPtfxAssetLoaded(fxName) then return true end RequestNamedPtfxAsset(fxName) if hasLoaded(RequestNamedPtfxAsset, fxName) then return true end - print(('Unable to load named ptfx after 20 ticks (%s)'):format(name)) + print(('Unable to load named ptfx after 20 ticks (%s)'):format(fxName)) end \ No newline at end of file