From 25be2149c14c713ad2419f0e9e11e84331f40dea Mon Sep 17 00:00:00 2001 From: Ivan Perez Date: Tue, 22 Jul 2025 12:01:36 +0900 Subject: [PATCH] Fixed bug where infinite production queue does not notify on ready --- OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs index d96fca30e9..fef175fece 100644 --- a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs +++ b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs @@ -488,7 +488,10 @@ namespace OpenRA.Mods.Common.Traits { // Make sure the item hasn't been invalidated between the ProductionItem ticking and this FrameEndTask running if (!Queue.Any(i => i.Done && i.Item == unit.Name)) + { + hasPlayedSound = false; return; + } var isBuilding = unit.HasTraitInfo(); if (isBuilding && !hasPlayedSound)