Skip to content

Commit

Permalink
Remove unnecessary conditionals.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Sep 18, 2021
1 parent ccaf3e5 commit 952b048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameMod/MPDeathReview.cs
Expand Up @@ -204,7 +204,7 @@ static void DrawDeathSummary(UIElement uie)
}

if (!showDeathReviewDetails && ((assister != null && assister.netId != killer.netId) || MPDeathReview.lastDeathReview.players.Any(x => otherIds.Contains(x.Key)) || (killer != GameManager.m_local_player && MPDeathReview.lastDeathReview.players.Any(x => selfIds.Contains(x.Key))))) {
uie.DrawStringSmall(ScriptTutorialMessage.ControlString(CCInput.SWITCH_MISSILE) + " - SHOW MORE DETAILS", true ? pos + Vector2.down * 18f : new Vector2(-503, 100), 0.3f, StringOffset.CENTER, UIManager.m_col_ui5 * (true ? 0.7f : 1f), alpha_mod, -1f);
uie.DrawStringSmall(ScriptTutorialMessage.ControlString(CCInput.SWITCH_MISSILE) + " - SHOW MORE DETAILS", pos + Vector2.down * 18f, 0.3f, StringOffset.CENTER, UIManager.m_col_ui5 * 0.7f, alpha_mod, -1f);
}
}

Expand Down

0 comments on commit 952b048

Please sign in to comment.