Merge remote-tracking branch 'refs/remotes/origin/master' into 562-AI-A2A-Dispatcher

This commit is contained in:
FlightControl 2017-06-21 11:48:24 +02:00
commit ee30fa6ac2

View File

@ -1193,7 +1193,7 @@ function SET_GROUP:IsIncludeObject( MooseGroup )
local MooseGroupPrefix = false
for GroupPrefixId, GroupPrefix in pairs( self.Filter.GroupPrefixes ) do
self:T3( { "Prefix:", string.find( MooseGroup:GetName(), GroupPrefix, 1 ), GroupPrefix } )
if string.find( MooseGroup:GetName(), GroupPrefix, 1 ) then
if string.find( MooseGroup:GetName(), GroupPrefix:gsub ("-", "%%-"), 1 ) then
MooseGroupPrefix = true
end
end