Bump and remove debug

This commit is contained in:
JustArchi
2016-10-01 22:14:04 +02:00
parent 4986bee410
commit b613b5ab38
2 changed files with 1 additions and 7 deletions

View File

@@ -1985,7 +1985,6 @@ namespace ArchiSteamFarm {
if (callback.FriendID == SteamClient.SteamID) {
Events.OnStateUpdated(this, callback);
} else if ((callback.FriendID == LibraryLockedBySteamID) && (callback.GameID == 0)) {
Logging.LogGenericDebug("Forwarding persona update to family sharing because of GameID = 0");
LibraryLockedBySteamID = 0;
CheckOccupationStatus();
}
@@ -2235,24 +2234,19 @@ namespace ArchiSteamFarm {
return;
}
Logging.LogGenericDebug("Previous LibraryLockedBySteamID: " + LibraryLockedBySteamID + " | Current: " + callback.LibraryLockedBySteamID);
// Ignore no status updates
if (LibraryLockedBySteamID == 0) {
if ((callback.LibraryLockedBySteamID == 0) || (callback.LibraryLockedBySteamID == SteamClient.SteamID)) {
Logging.LogGenericDebug("Ignored");
return;
}
LibraryLockedBySteamID = callback.LibraryLockedBySteamID;
} else {
if ((callback.LibraryLockedBySteamID != 0) && (callback.LibraryLockedBySteamID != SteamClient.SteamID)) {
Logging.LogGenericDebug("Ignored");
return;
}
if (SteamFriends.GetFriendGamePlayed(LibraryLockedBySteamID) != 0) {
Logging.LogGenericDebug("Ignored due to game still being played: " + SteamFriends.GetFriendGamePlayed(LibraryLockedBySteamID));
return;
}

View File

@@ -41,7 +41,7 @@ namespace ArchiSteamFarm {
WCFHostname
}
internal const string VersionNumber = "2.1.5.7";
internal const string VersionNumber = "2.1.5.8";
internal const string Copyright = "Copyright © ArchiSteamFarm 2015-2016";
internal const string GithubRepo = "JustArchi/ArchiSteamFarm";