From 4dc43263a5e3f8cd41aff4b662f77553a091da16 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Thu, 25 Aug 2022 11:41:27 +0200 Subject: [PATCH] usage correction --- Moose Development/Moose/Core/Zone.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Core/Zone.lua b/Moose Development/Moose/Core/Zone.lua index 5debc3a12..02c915c90 100644 --- a/Moose Development/Moose/Core/Zone.lua +++ b/Moose Development/Moose/Core/Zone.lua @@ -899,8 +899,8 @@ end -- @param ObjectCategories An array of categories of the objects to find in the zone. E.g. `{Object.Category.UNIT}` -- @param UnitCategories An array of unit categories of the objects to find in the zone. E.g. `{Unit.Category.GROUND_UNIT,Unit.Category.SHIP}` -- @usage --- self.Zone:Scan({Object.Category.UNIT},{Unit.Category.GROUND_UNIT}) --- local IsAttacked = self.Zone:IsSomeInZoneOfCoalition( self.Coalition ) +-- myzone:Scan({Object.Category.UNIT},{Unit.Category.GROUND_UNIT}) +-- local IsAttacked = myzone:IsSomeInZoneOfCoalition( self.Coalition ) function ZONE_RADIUS:Scan( ObjectCategories, UnitCategories ) self.ScanData = {}