From a37f33a746b22c927139047a21db7273bf9f125e Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 19 Feb 2019 00:07:29 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Bot.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 26d9b44ff..3c2cd000d 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -1459,14 +1459,14 @@ namespace ArchiSteamFarm { } } - private string GetBotFilePath(EBotFileType filePath) { - if (!Enum.IsDefined(typeof(EBotFileType), filePath)) { - ASF.ArchiLogger.LogNullError(nameof(filePath)); + private string GetBotFilePath(EBotFileType fileType) { + if (!Enum.IsDefined(typeof(EBotFileType), fileType)) { + ASF.ArchiLogger.LogNullError(nameof(fileType)); return null; } - return GetBotFilePath(BotName, filePath); + return GetBotFilePath(BotName, fileType); } [ItemCanBeNull]