Version 2.0.1

Updates to Debugger, csarManager, PlayerScore/objectDestructDetector
This commit is contained in:
Christian Franz
2024-01-25 08:12:29 +01:00
parent c9694c3176
commit 38d6487de7
23 changed files with 565 additions and 455 deletions

View File

@@ -1,5 +1,5 @@
cfxZones = {}
cfxZones.version = "4.1.1"
cfxZones.version = "4.1.2"
-- cf/x zone management module
-- reads dcs zones and makes them accessible and mutable
@@ -43,6 +43,7 @@ cfxZones.version = "4.1.1"
- 4.0.10 - getBoolFromZoneProperty also supports "on" (=true) and "off" (=false)
- 4.1.0 - getBoolFromZoneProperty 'on/off' support for dml variant as well
- 4.1.1 - evalRemainder() updates
- 4.1.2 - hash property missing warning
--]]--
@@ -2299,6 +2300,14 @@ function dmlZone:hasProperty(theProperty)
return false
end
if string.sub(theProperty, -1) == "#" then
local lessOp = theProperty:sub(1,-2)
if self:getZoneProperty(lessOp) ~= nil then
trigger.action.outText("*** NOTE: " .. self.name .. "'s property <" .. lessOp .. "> may be missing a hash mark ('#') at end", 30)
end
return false
end
return false
end
return true