OneOnOneInitPlayerSlots

comment

This function is called in the scope of config by InitGenericPlayerSlots to set up the map based on chosen game type GAME_TYPE_ONE_ON_ONE.

patch

1.00

Source
Blizzard.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
function OneOnOneInitPlayerSlots takes nothing returns nothing
    // Limit the game to 2 players.
    call SetTeams(2)
    call SetPlayers(2)
    call TeamInitPlayerSlots(2)
endfunction