fixed warnings being reversed

This commit is contained in:
2025-05-10 22:27:23 +02:00
parent 812f58b0fa
commit 790e033caf
+2 -2
View File
@@ -275,13 +275,13 @@ function Database.New(Logger)
end
for _, missionZone in pairs(self._tables.MissionZones) do
if not self._tables.MissionAnnotations[missionZone] == nil or not self._tables.MissionAnnotations[missionZone].description then
if self._tables.MissionAnnotations[missionZone] == nil or self._tables.MissionAnnotations[missionZone].description == nil then
Spearhead.AddMissionEditorWarning("Mission with zonename: " .. missionZone .. " does not have a briefing")
end
end
for _, missionZone in pairs(self._tables.RandomMissionZones) do
if not self._tables.MissionAnnotations[missionZone] == nil or not self._tables.MissionAnnotations[missionZone].description then
if self._tables.MissionAnnotations[missionZone] == nil or self._tables.MissionAnnotations[missionZone].description == nil then
Spearhead.AddMissionEditorWarning("Mission with zonename: " .. missionZone .. " does not have a briefing")
end
end