Skip to content
Permalink
Browse files

add. 7f2b82a (#482)

  • Loading branch information...
sprunk authored and rtri committed Nov 4, 2019
1 parent fd02e4a commit 8b4a75f973f2dd8507d29313e097b47b1824a23a
Showing with 10 additions and 2 deletions.
  1. +10 −2 cont/LuaUI/widgets.lua
@@ -1863,9 +1863,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 8b4a75f

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