This is just Jetbrains formatting and code syntax styling

This commit is contained in:
CWX
2025-02-05 06:56:51 +00:00
parent ce78a2231e
commit f648f42721
382 changed files with 6348 additions and 10422 deletions
@@ -50,7 +50,7 @@ public class MatchController(
/// <returns></returns>
public ProfileStatusResponse JoinMatch(MatchGroupStartGameRequest info, string sessionId)
{
ProfileStatusResponse output = new ProfileStatusResponse
var output = new ProfileStatusResponse
{
MaxPveCountExceeded = false,
// get list of players joining into the match
@@ -105,11 +105,9 @@ public class MatchController(
// Set pmcs to difficulty set in pre-raid screen if override in bot config isnt enabled
if (!_pmcConfig.UseDifficultyOverride)
{
_pmcConfig.Difficulty = ConvertDifficultyDropdownIntoBotDifficulty(
request.WavesSettings.BotDifficulty.ToString()
);
}
}
/// <summary>
@@ -120,10 +118,7 @@ public class MatchController(
private string ConvertDifficultyDropdownIntoBotDifficulty(string botDifficulty)
{
// Edge case medium - must be altered
if (botDifficulty.ToLower() == "medium")
{
return "normal";
}
if (botDifficulty.ToLower() == "medium") return "normal";
return botDifficulty;
}