mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc optimization
If we're starting from 0, pointless to ask plugins what they prefer.
This commit is contained in:
@@ -66,7 +66,7 @@ namespace ArchiSteamFarm.Plugins {
|
||||
internal static async Task<uint> GetChangeNumberToStartFrom() {
|
||||
uint lastChangeNumber = ASF.GlobalDatabase?.LastChangeNumber ?? 0;
|
||||
|
||||
if (ActivePlugins == null) {
|
||||
if ((lastChangeNumber == 0) || (ActivePlugins == null)) {
|
||||
return lastChangeNumber;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user