From d51a1167fd964f2ce2bc3b309eee3d945a58d9d3 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:21:26 +1000 Subject: [PATCH] fix(client/requestModel): use IsModelInnCdimage to validate model Resolves #596. If it breaks something, maybe try using both. --- imports/requestModel/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/requestModel/client.lua b/imports/requestModel/client.lua index 64ba263f9..68b8375e4 100644 --- a/imports/requestModel/client.lua +++ b/imports/requestModel/client.lua @@ -10,7 +10,7 @@ function lib.requestModel(model, timeout) error(("attempted to load invalid model '%s'"):format(model)) end - return lib.streamingRequest(RequestModel, HasModelLoaded, 'model', model, timeout) + return lib.streamingRequest(IsModelInCdimage, HasModelLoaded, 'model', model, timeout) end return lib.requestModel