diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs
index 8276ca3fa..61b780aa5 100755
--- a/ArchiSteamFarm/Bot.cs
+++ b/ArchiSteamFarm/Bot.cs
@@ -750,7 +750,7 @@ namespace ArchiSteamFarm {
}
private async Task HeartBeat() {
- if (!IsConnectedAndLoggedOn) {
+ if (!KeepRunning || !IsConnectedAndLoggedOn) {
return;
}
@@ -758,7 +758,7 @@ namespace ArchiSteamFarm {
await SteamApps.PICSGetProductInfo(0, null);
Statistics?.OnHeartBeat().Forget();
} catch {
- if (!IsConnectedAndLoggedOn) {
+ if (!KeepRunning || !IsConnectedAndLoggedOn) {
return;
}
@@ -853,6 +853,10 @@ namespace ArchiSteamFarm {
}
private void InitPermanentConnectionFailure() {
+ if (!KeepRunning) {
+ return;
+ }
+
ArchiLogger.LogGenericError(Strings.BotHeartBeatFailed);
Destroy(true);
new Bot(BotName).Forget();
diff --git a/ArchiSteamFarm/Localization/Strings.lol-US.resx b/ArchiSteamFarm/Localization/Strings.lol-US.resx
deleted file mode 100644
index 295ae2fd3..000000000
--- a/ArchiSteamFarm/Localization/Strings.lol-US.resx
+++ /dev/null
@@ -1,295 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- ACCEPTIN TRADE: {0}
- {0} will be replaced by trade number
-
-
- ASF WILL AUTOMATICALLY CHECK 4 NEW VERSHUNS EVRY {0} HOURS.
- {0} will be replaced by number of hours
-
-
- CONTENT:
-{0}
- {0} will be replaced by content string. Please note that this string should include newline for formatting.
-
-
- CONFIGURD {0} PROPERTY IZ INVALID: {1}
- {0} will be replaced by name of the configuration property, {1} will be replaced by invalid value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ConfigGenerator/Localization/CGStrings.lol-US.resx b/ConfigGenerator/Localization/CGStrings.lol-US.resx
deleted file mode 100644
index 70c209e53..000000000
--- a/ConfigGenerator/Localization/CGStrings.lol-US.resx
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONFIGURD {0} PROPERTY IZ INVALID: {1}
- {0} will be replaced by name of the configuration property, {1} will be replaced by invalid value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file