Skip to content
Permalink
Browse files

add. 7f2b82a (#482)

  • Loading branch information...
sprunk authored and ashdnazg committed Nov 4, 2019
1 parent de701e7 commit afede8a254037d1a2be3f937e7e3fde59af5a750
Showing with 10 additions and 2 deletions.
  1. +10 −2 cont/LuaUI/widgets.lua
@@ -1883,9 +1883,17 @@ function widgetHandler:UnitIdle(unitID, unitDefID, unitTeam)
end


function widgetHandler:UnitCommand(unitID, unitDefID, unitTeam, cmdId, cmdParams, cmdOpts, cmdTag)
function widgetHandler:UnitCommand(
unitID, unitDefID, unitTeam,
cmdId, cmdParams, cmdOpts, cmdTag,
playerID, fromSynced, fromLua
)
for _,w in ipairs(self.UnitCommandList) do
w:UnitCommand(unitID, unitDefID, unitTeam, cmdId, cmdParams, cmdOpts, cmdTag)
w:UnitCommand(
unitID, unitDefID, unitTeam,
cmdID, cmdParams, cmdOpts, cmdTag,
playerID, fromSynced, fromLua
)
end
return
end

0 comments on commit afede8a

Please sign in to comment.
You can’t perform that action at this time.