From f9e6be6e90e72b1bbb3eaa4b231cb2088e6c9ccf Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 7 Jan 2022 10:34:10 +0000 Subject: [PATCH] Consistency --- Generator/Helpers/DifficultyHelper.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Generator/Helpers/DifficultyHelper.cs b/Generator/Helpers/DifficultyHelper.cs index 65da6ec..25d32cd 100644 --- a/Generator/Helpers/DifficultyHelper.cs +++ b/Generator/Helpers/DifficultyHelper.cs @@ -61,26 +61,26 @@ namespace Generator.Helpers return difficultySettings; } - private static void AddHostileToPMCSettings(DifficultySettings settings) + private static void AddHostileToPMCSettings(DifficultySettings difficultySettings) { var defaultEnemyUsecKey = "DEFAULT_ENEMY_USEC"; - if (settings.Mind.ContainsKey(defaultEnemyUsecKey)) + if (difficultySettings.Mind.ContainsKey(defaultEnemyUsecKey)) { - settings.Mind[defaultEnemyUsecKey] = true; + difficultySettings.Mind[defaultEnemyUsecKey] = true; } else { - settings.Mind.Add(defaultEnemyUsecKey, true); + difficultySettings.Mind.Add(defaultEnemyUsecKey, true); } var defaultEnemyBearKey = "DEFAULT_ENEMY_BEAR"; - if (settings.Mind.ContainsKey(defaultEnemyUsecKey)) + if (difficultySettings.Mind.ContainsKey(defaultEnemyUsecKey)) { - settings.Mind[defaultEnemyBearKey] = true; + difficultySettings.Mind[defaultEnemyBearKey] = true; } else { - settings.Mind.Add(defaultEnemyBearKey, true); + difficultySettings.Mind.Add(defaultEnemyBearKey, true); } }