Function MeleeDoLeave
| 9257 | function MeleeDoLeave takes player whichPlayer returns nothing |
| 9258 | if (GetIntegerGameState(GAME_STATE_DISCONNECTED) != 0) then |
| 9259 | call GameOverDialogBJ( whichPlayer, true ) |
| 9260 | else
|
| 9261 | set bj_meleeDefeated[GetPlayerId(whichPlayer)] = true |
| 9262 | call RemovePlayerPreserveUnitsBJ(whichPlayer, PLAYER_GAME_RESULT_DEFEAT, true) |
| 9263 | endif
|
| 9264 | endfunction
|