From b6c36b84fe70119b447cd34d66da64cbfe12fbf0 Mon Sep 17 00:00:00 2001 From: blackdragonTOW <31581761+blackdragonTOW@users.noreply.github.com> Date: Mon, 24 Jul 2023 16:09:38 -0700 Subject: [PATCH] Update colonialmarines.dm --- code/game/gamemodes/colonialmarines/colonialmarines.dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/game/gamemodes/colonialmarines/colonialmarines.dm b/code/game/gamemodes/colonialmarines/colonialmarines.dm index 75eef035b962..8935811f55bd 100644 --- a/code/game/gamemodes/colonialmarines/colonialmarines.dm +++ b/code/game/gamemodes/colonialmarines/colonialmarines.dm @@ -377,14 +377,14 @@ var/list/living_player_list = count_humans_and_xenos(EvacuationAuthority.get_affected_zlevels()) if(living_player_list[1] && !living_player_list[2]) // If Xeno Minor but Xenos are dead and Humans are alive, see which faction is the last standing var/headcount = count_per_faction() - var/living = headcount[5] - if ((headcount[2] / living) > MAJORITY) // headcount[2] = Weyland-Yutani + var/living = headcount["total_headcount"] + if ((headcount["WY_headcount"] / living) > MAJORITY) musical_track = pick('sound/theme/LastManStanding_WY.ogg') - else if ((headcount[3] / living) > MAJORITY) // headcount[3] = UPP + else if ((headcount["UPP_headcount"] / living) > MAJORITY) musical_track = pick('sound/theme/LastManStanding_UPP.ogg') - else if ((headcount[4] / living) > MAJORITY) // headcount[4] = CLF + else if ((headcount["CLF_headcount"] / living) > MAJORITY) musical_track = pick('sound/theme/LastManStanding_CLF.ogg') - else if ((headcount[1] / living) > MAJORITY) // headcount[1] = Marines + else if ((headcount["marine_headcount"] / living) > MAJORITY) musical_track = pick('sound/theme/neutral_melancholy2.ogg') //This is the theme song for Colonial Marines the game, fitting else musical_track = pick('sound/theme/neutral_melancholy1.ogg')