Version 0.992

unitZone
xFlags (preview)
follow me
island defender
This commit is contained in:
Christian Franz
2022-03-10 18:17:33 +01:00
parent a1f5ca8567
commit a35087c234
13 changed files with 751 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
dcsCommon = {}
dcsCommon.version = "2.5.5"
dcsCommon.version = "2.5.6"
--[[-- VERSION HISTORY
2.2.6 - compassPositionOfARelativeToB
- clockPositionOfARelativeToB
@@ -65,6 +65,7 @@ dcsCommon.version = "2.5.5"
2.5.5 - stringStartsWithDigit()
- stringStartsWithLetter()
- stringIsPositiveNumber()
2.5.6 - corrected stringEndsWith() bug with str
--]]--
@@ -1740,7 +1741,7 @@ dcsCommon.version = "2.5.5"
end
function dcsCommon.stringEndsWith(theString, theEnding)
return theEnding == "" or str:sub(-#theEnding) == theEnding
return theEnding == "" or theString:sub(-#theEnding) == theEnding
end
function dcsCommon.removeEnding(theString, theEnding)