fixed warnings being reversed
This commit is contained in:
@@ -275,13 +275,13 @@ function Database.New(Logger)
|
||||
end
|
||||
|
||||
for _, missionZone in pairs(self._tables.MissionZones) do
|
||||
if self._tables.MissionAnnotations[missionZone] == nil or self._tables.MissionAnnotations[missionZone].description then
|
||||
if not self._tables.MissionAnnotations[missionZone] == nil or not self._tables.MissionAnnotations[missionZone].description then
|
||||
Spearhead.AddMissionEditorWarning("Mission with zonename: " .. missionZone .. " does not have a briefing")
|
||||
end
|
||||
end
|
||||
|
||||
for _, missionZone in pairs(self._tables.RandomMissionZones) do
|
||||
if self._tables.MissionAnnotations[missionZone] == nil or self._tables.MissionAnnotations[missionZone].description then
|
||||
if not self._tables.MissionAnnotations[missionZone] == nil or not self._tables.MissionAnnotations[missionZone].description then
|
||||
Spearhead.AddMissionEditorWarning("Mission with zonename: " .. missionZone .. " does not have a briefing")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user