Skip to content

Commit

Permalink
Don't default raid egg to pokemon if it's set via /pokedex import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjasoturi committed Aug 26, 2021
1 parent c40b7f3 commit afdb0d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logic/get_raid.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function get_raid($raid_id)
IF((SELECT count(*)
FROM raid_bosses
WHERE raid_level = raids.level
AND date_end != \'2038-01-19 03:14:07\'
AND convert_tz(raids.spawn,"+00:00","'.$tz_diff.'") BETWEEN date_start AND date_end) = 1,
(SELECT pokedex_id
FROM raid_bosses
Expand All @@ -31,6 +32,7 @@ function get_raid($raid_id)
IF((SELECT count(*) as count
FROM raid_bosses
WHERE raid_level = raids.level
AND date_end != \'2038-01-19 03:14:07\'
AND convert_tz(raids.spawn,"+00:00","'.$tz_diff.'") BETWEEN date_start AND date_end) = 1,
(SELECT pokemon_form_id
FROM raid_bosses
Expand Down

0 comments on commit afdb0d1

Please sign in to comment.