mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Use fromtimestamp
to perform check in handle_rainbow_puffle_task_complete
This commit is contained in:
parent
6fc11160f3
commit
1193953316
@ -23,7 +23,7 @@ async def handle_rainbow_puffle_task_complete(p, task_id: int):
|
||||
|
||||
quest_wait = RainbowQuestWaitMember if p.is_member else RainbowQuestWait
|
||||
|
||||
if int(current_task) == 0 or current_datetime - datetime.utcfromtimestamp(int(task_completion)) > quest_wait:
|
||||
if int(current_task) == 0 or current_datetime - datetime.fromtimestamp(int(task_completion)) > quest_wait:
|
||||
if int(task_id) == len(RainbowQuestRewards) - 1:
|
||||
await p.update(rainbow_adoptability=True).apply()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user