Function CustomVictorySkipBJ
| 5558 | function CustomVictorySkipBJ takes player whichPlayer returns nothing |
| 5559 | if (GetLocalPlayer() == whichPlayer) then |
| 5560 | if bj_isSinglePlayer then |
| 5561 | // Bump the difficulty back up to the default.
|
| 5562 | call SetGameDifficulty(GetDefaultDifficulty()) |
| 5563 | endif
|
| 5564 | |
| 5565 | if (bj_changeLevelMapName == null) then |
| 5566 | call EndGame( bj_changeLevelShowScores ) |
| 5567 | else
|
| 5568 | call ChangeLevel( bj_changeLevelMapName, bj_changeLevelShowScores ) |
| 5569 | endif
|
| 5570 | endif
|
| 5571 | endfunction
|