Quantcast

Refresh the count of players by role when an anomaly is detected (usually due to players zoning slowly)

KyrosKrane [05-25-18 - 02:22]
Refresh the count of players by role when an anomaly is detected (usually due to players zoning slowly)
Filename
Broker_RaidMakeup.lua
diff --git a/Broker_RaidMakeup.lua b/Broker_RaidMakeup.lua
index 187fee7..44593c7 100644
--- a/Broker_RaidMakeup.lua
+++ b/Broker_RaidMakeup.lua
@@ -314,6 +314,9 @@ function BRM.LDO:OnClick(...)
 			BRM:DebugPrint("old_TotalCount is "		.. (old_TotalCount		or "nil") .. ", new TotalCount is "		.. (BRM.TotalCount		or "nil"))

 			-- @TODO: Capture some info and give the player a way to report it.
+
+			-- Also schedule an update in five seconds to ensure we capture any additional changes
+			C_Timer.After(5, function() BRM:UpdateComposition() end)
 	end

 end -- BRM.LDO:OnClick()