MeleeCheckAddedUnit

Parameters
addedUnitunit
comment
patch

1.07

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
nothing
Source code
function MeleeCheckAddedUnit takes unit addedUnit returns nothing
    local player addedUnitOwner = GetOwningPlayer(addedUnit)

    // If the player was crippled, this unit may have uncrippled him/her.
    if (bj_playerIsCrippled[GetPlayerId(addedUnitOwner)]) then
        call MeleeCheckForCrippledPlayers()
    endif
endfunction