(fix/Power): Add missing shared events for Combo Points
forgot that edgecase
This commit is contained in:
parent
ddbee38646
commit
5ff6c87e18
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue