From 041cd238dfe3a9eaf4aff3aae7362092e0fe4cc4 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 21 Jul 2024 00:11:23 +0200 Subject: [PATCH] Fix ZoneCaptureCoalition on player ejects / gets killed in zone ZoneCaptureCoalition.lua:879 calls GetScannedSetUnit and will stop the scheduler if the error message for STATICs is raised. We already have a check if it is present so we can add this explicitly here. --- Moose Development/Moose/Core/Zone.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Core/Zone.lua b/Moose Development/Moose/Core/Zone.lua index 19055634b..934188d98 100644 --- a/Moose Development/Moose/Core/Zone.lua +++ b/Moose Development/Moose/Core/Zone.lua @@ -1203,7 +1203,7 @@ function ZONE_RADIUS:GetScannedSetUnit() if FoundUnit then SetUnit:AddUnit( FoundUnit ) else - local FoundStatic = STATIC:FindByName( UnitObject:getName() ) + local FoundStatic = STATIC:FindByName( UnitObject:getName(), false ) if FoundStatic then SetUnit:AddUnit( FoundStatic ) end