Added null check to Queue::findHighestRelevanceBasket() (#1686)

This commit is contained in:
avirar
2025-09-30 23:17:45 +10:00
committed by GitHub
parent a19604024e
commit 01915ffa35

View File

@@ -88,6 +88,11 @@ ActionBasket* Queue::findHighestRelevanceBasket() const
for (ActionBasket* basket : actions)
{
if (!basket)
{
continue;
}
if (basket->getRelevance() > maxRelevance)
{
maxRelevance = basket->getRelevance();