From e97edc01dfe64e20e8aa9f49dc62f9ca8d0889fe Mon Sep 17 00:00:00 2001 From: chenxi Date: Thu, 15 Jun 2023 16:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E4=BB=A4=E7=AD=89=E7=BA=A7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/userdata/bounty/bounty_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/userdata/bounty/bounty_data.lua b/lua/app/userdata/bounty/bounty_data.lua index d7633749..f90b7f51 100644 --- a/lua/app/userdata/bounty/bounty_data.lua +++ b/lua/app/userdata/bounty/bounty_data.lua @@ -258,7 +258,7 @@ function BountyData:getIfCanClaimReward() if self.claimedCount < self.level then return true end - if self.bought and self.proClaimedCount < self:getMaxLevel() then + if self.bought and self.level <= self:getMaxLevel() and self.proClaimedCount < self.level then return true end return false