Function CustomVictoryOkBJ
- Line
- 5504
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 5504 | function CustomVictoryOkBJ takes nothing returns nothing |
| 5505 | if bj_isSinglePlayer then |
| 5506 | call PauseGame( false ) |
| 5507 | // Bump the difficulty back up to the default.
|
| 5508 | call SetGameDifficulty(GetDefaultDifficulty()) |
| 5509 | endif
|
| 5510 | |
| 5511 | if (bj_changeLevelMapName == null) then |
| 5512 | call EndGame( bj_changeLevelShowScores ) |
| 5513 | else
|
| 5514 | call ChangeLevel( bj_changeLevelMapName, bj_changeLevelShowScores ) |
| 5515 | endif
|
| 5516 | endfunction
|