Skip to content

Commit

Permalink
fix : set config error
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Jul 17, 2024
1 parent 33d1f36 commit 851bc2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/cafe_reward.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ def interaction_for_cafe_solve_method3(self):
"[ " + str(shotDelay) + " ]")
self.logger.warning("It's might be caused by your emulator fps, please adjust it to lower than 60")
self.logger.info("Adjusting shot delay to [ " + str(swipeT - 0.3) + " ], and retry")
self.config.set("cafe_reward_interaction_shot_delay", swipeT - 0.3)
break
self.config["cafe_reward_interaction_shot_delay"] = swipeT - 0.3
self.config_set.set("cafe_reward_interaction_shot_delay", self.config["cafe_reward_interaction_shot_delay"] )
continue
gift_to_cafe(self)
index = 0
while index < len(res):
Expand Down

0 comments on commit 851bc2e

Please sign in to comment.