If your playing in the sim you will always get loser music, heres why
// start up the appropriate music
if (Campaign.next_mission == Campaign.current_mission) {
// you failed the mission because you suck, so you get the suck music
common_music_init(SCORE_DEBRIEF_FAIL);
} else if (mission_goals_met()) {
// you completed all primaries and secondaries, thus you are a stud boy and you get stud boy music
common_music_init(SCORE_DEBRIEF_SUCCESS);
} else {
// you somehow passed the mission, so you get a little something for your efforts.
common_music_init(SCORE_DEBRIEF_AVERAGE);
}
as you can see, it determins failure as the fact that the next mission will be the same mission, IE, you have to do it again. But if there is no next mission, then the game automatically says its the same mission, because theres no campaign tree to determin the next mission.