about summary refs log tree commit diff stats
path: root/app/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/pokeviewer/extract_save_data_job.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/jobs/pokeviewer/extract_save_data_job.rb b/app/jobs/pokeviewer/extract_save_data_job.rb index 14ba9a6..f94ce74 100644 --- a/app/jobs/pokeviewer/extract_save_data_job.rb +++ b/app/jobs/pokeviewer/extract_save_data_job.rb
@@ -76,7 +76,9 @@ module Pokeviewer
76 r.ot_number = param["otId"] 76 r.ot_number = param["otId"]
77 r.ot_gender = param["otGender"] 77 r.ot_gender = param["otGender"]
78 78
79 if param["metLevel"] == 0 79 if param["orre"]
80 r.met_type = :orre
81 elsif param["metLevel"] == 0
80 r.met_type = :hatched 82 r.met_type = :hatched
81 r.location_id = param["metLocation"] 83 r.location_id = param["metLocation"]
82 elsif param["metLocation"] == 254 84 elsif param["metLocation"] == 254