fixed warnings being reversed

This commit is contained in:
2025-05-10 22:15:08 +02:00
parent 722b02c264
commit 812f58b0fa
+2 -2
View File
@@ -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