diff --git a/mist.lua b/mist.lua index 850a4cc..5f1c5b4 100644 --- a/mist.lua +++ b/mist.lua @@ -35,7 +35,7 @@ mist = {} -- don't change these mist.majorVersion = 4 mist.minorVersion = 5 -mist.build = 125 +mist.build = 126 -- forward declaration of log shorthand local log @@ -9227,7 +9227,7 @@ do -- group tasks scope function mist.groupIsDead(groupName) -- copy more or less from on station local gp = Group.getByName(groupName) if gp then - if #gp:getUnits() > 0 or gp:isExist() == true then + if #gp:getUnits() > 0 and gp:isExist() == true then return false end end diff --git a/mist_4_5_125.lua b/mist_4_5_126.lua similarity index 99% rename from mist_4_5_125.lua rename to mist_4_5_126.lua index 850a4cc..243bcca 100644 --- a/mist_4_5_125.lua +++ b/mist_4_5_126.lua @@ -9227,7 +9227,7 @@ do -- group tasks scope function mist.groupIsDead(groupName) -- copy more or less from on station local gp = Group.getByName(groupName) if gp then - if #gp:getUnits() > 0 or gp:isExist() == true then + if #gp:getUnits() > 0 and gp:isExist() == true then return false end end