This commit is contained in:
JustArchi
2016-03-27 23:18:01 +02:00
parent 20b47e1787
commit 22e4c0cd40
2 changed files with 1 additions and 2 deletions

View File

@@ -1350,7 +1350,7 @@ namespace ArchiSteamFarm {
}
private async void OnGuestPassList(SteamApps.GuestPassListCallback callback) {
if (callback == null || callback.Result != EResult.OK || callback.CountGuestPassesToRedeem <= 0 || !BotConfig.AcceptGifts) {
if (callback == null || callback.Result != EResult.OK || callback.CountGuestPassesToRedeem == 0 || callback.GuestPasses.Count == 0 || !BotConfig.AcceptGifts) {
return;
}