No longer print error message in toggleFade function if no match was found

This commit is contained in:
Alexander Bock
2025-07-01 15:52:33 +02:00
parent b9d8a582e9
commit e9a3bfd742

View File

@@ -329,11 +329,6 @@ openspace.toggleFade = function(renderable, fadeTime, endScript)
local renderablesList = openspace.propertyOwner(renderable)
if next(renderablesList) == nil then
-- List is empty, no matches found
openspace.printError(
"Error when calling script 'openspace.toggleFade': " ..
"Could not find any property owner matching '" .. renderable .. "'"
)
return
end