mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
fixes stupid error I did on AI_CARGO_DISPATCHER.
This commit is contained in:
@@ -310,9 +310,9 @@ do -- Zones
|
||||
end
|
||||
|
||||
for ZoneGroupName, ZoneGroup in pairs( self.GROUPS ) do
|
||||
if ZoneGroupName:match("~ZONE_POLYGON") then
|
||||
local ZoneName1 = ZoneGroupName:match("(.*)~ZONE_POLYGON")
|
||||
local ZoneName2 = ZoneGroupName:match(".*~ZONE_POLYGON(.*)")
|
||||
if ZoneGroupName:match("#ZONE_POLYGON") then
|
||||
local ZoneName1 = ZoneGroupName:match("(.*)#ZONE_POLYGON")
|
||||
local ZoneName2 = ZoneGroupName:match(".*#ZONE_POLYGON(.*)")
|
||||
local ZoneName = ZoneName1 .. ( ZoneName2 or "" )
|
||||
|
||||
self:I( { "Register ZONE_POLYGON:", Name = ZoneName } )
|
||||
|
||||
Reference in New Issue
Block a user