Fix erroneous change in the layer_support

This commit is contained in:
Alexander Bock
2024-06-04 16:52:10 +02:00
parent 32867630cc
commit 51359f93ba

View File

@@ -224,8 +224,11 @@ openspace.globebrowsing.parseInfoFile = function (file)
local name = Name or Identifier
local identifier = Identifier
local zIndex = ZIndex
if zIndex == "" then
zIndex = nil
end
if identifier == nil then
if identifier == "" then
openspace.printError('Error loading file "' .. file .. '": No "Identifier" found')
return nil
end