AIRBOSS - Superfluous error message removal

This commit is contained in:
Applevangelist 2023-12-29 15:02:20 +01:00
parent 67cec4c564
commit 3a4c5e307c

View File

@ -8212,7 +8212,7 @@ function AIRBOSS:OnEventBirth( EventData )
self:E( EventData )
return
end
if EventData.IniUnit == nil then
if EventData.IniUnit == nil and (not EventData.IniObjectCategory == Object.Category.STATIC) then
self:E( self.lid .. "ERROR: EventData.IniUnit=nil in event BIRTH!" )
self:E( EventData )
return