Skip to content

Commit

Permalink
fix europe gacha error
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshino authored May 14, 2024
1 parent d1477d3 commit 703eda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/controller/princess/gacha.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async function gacha(context, { match, pickup, ensure = false, europe = false })
const now = moment();
const month = now.month() + 1;
const date = now.date();
const isEventTime = month === 5 && (date >= 11 || date <= 14);
const isEventTime = month === 5 && (date >= 11 && date <= 15);

// 只有 12/31~1/1 這兩天才會開放歐洲轉蛋池
if (europe && !isEventTime) {
Expand Down

0 comments on commit 703eda1

Please sign in to comment.