From 1396edaf6b55733e248d568647eda03197d074a8 Mon Sep 17 00:00:00 2001 From: Fernando-A-Rocha Date: Sat, 14 Jan 2023 22:43:26 +0000 Subject: [PATCH] Update server.lua --- newmodels/server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newmodels/server.lua b/newmodels/server.lua index 3be9272..4ce1ec4 100644 --- a/newmodels/server.lua +++ b/newmodels/server.lua @@ -557,7 +557,7 @@ function addExternalMod_IDFilenames(elementType, id, base_id, name, path, ignore local sourceResName if not fromResourceName then - local sourceResName = getResourceName(sourceResource) + sourceResName = getResourceName(sourceResource) if sourceResName == resName then return false, "This command is meant to be called from outside resource '"..resName.."'" end @@ -710,7 +710,7 @@ function addExternalMod_CustomFilenames(elementType, id, base_id, name, path_dff local sourceResName if not fromResourceName then - local sourceResName = getResourceName(sourceResource) + sourceResName = getResourceName(sourceResource) if sourceResName == resName then return false, "This command is meant to be called from outside resource '"..resName.."'" end