Skip to content

Commit

Permalink
Update server.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 14, 2023
1 parent 5564b99 commit 1396eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newmodels/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1396eda

Please sign in to comment.