Finish work on battlepasstimer

Now auto claims when cooked :)
This commit is contained in:
2024-04-09 11:01:29 +02:00
parent 0ca35636f2
commit d7796a1eac
3 changed files with 21 additions and 11 deletions

View File

@@ -2,5 +2,5 @@
function(e, opcode, msg)
if opcode ~= "UISMSG_TO_CLIENT" then return end
BattlepassInfo.ParseApi(msg)
return true
return BattlepassInfo.dayRewardComplete == 0
end