(fix/Power): Add missing shared events for Combo Points

forgot that edgecase
This commit is contained in:
NoM0Re
2025-06-02 22:36:34 +02:00
parent ddbee38646
commit 5ff6c87e18
+1 -1
View File
@@ -2613,7 +2613,7 @@ Private.event_prototypes = {
end
-- Register shared events unless we're in the FRAME_UPDATE case
if not (unit and not Private.multiUnitUnits[unit]) then
if (not (unit and not Private.multiUnitUnits[unit])) or (trigger.powertype == 4) then
AddUnitEventForEvents(result, unit, "UNIT_DISPLAYPOWER")
AddUnitEventForEvents(result, unit, "UNIT_NAME_UPDATE")
if trigger.use_ignoreDead or trigger.use_ignoreDisconnected then