Skip to content

Commit

Permalink
Update server_logic.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Aug 1, 2024
1 parent 095475c commit 11bd6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newmodels_reborn/scripts/core/server_logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local function parseModelSettings(thisFullPath, customModel, customModelInfo, is
end
customModelSettings.lodDistance = lodDistance
elseif stringStartswith(settingStr, "settings=") then
if isFromSettingsOption then
if isFromSettingsOption then -- prevent inception and recursion
return false, "settings option cannot point to a settings file that contains another settings option @ " .. thisFullPath
end
local settingsPath = settingStr:sub(10)
Expand Down

0 comments on commit 11bd6c7

Please sign in to comment.