diff options
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/pokeviewer/extract_save_data_job.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/jobs/pokeviewer/extract_save_data_job.rb b/app/jobs/pokeviewer/extract_save_data_job.rb index 546e6d2..99d71f1 100644 --- a/app/jobs/pokeviewer/extract_save_data_job.rb +++ b/app/jobs/pokeviewer/extract_save_data_job.rb | |||
@@ -69,7 +69,7 @@ module Pokeviewer | |||
69 | 69 | ||
70 | if param["metLevel"] == 0 | 70 | if param["metLevel"] == 0 |
71 | r.met_type = :hatched | 71 | r.met_type = :hatched |
72 | r.met_location = param["metLocation"] | 72 | r.location_id = param["metLocation"] |
73 | elsif param["metLocation"] == 254 | 73 | elsif param["metLocation"] == 254 |
74 | r.met_type = :npc_trade | 74 | r.met_type = :npc_trade |
75 | elsif param["metLocation"] == 255 | 75 | elsif param["metLocation"] == 255 |
@@ -78,7 +78,7 @@ module Pokeviewer | |||
78 | else | 78 | else |
79 | r.met_type = :normal | 79 | r.met_type = :normal |
80 | r.met_level = param["metLevel"] | 80 | r.met_level = param["metLevel"] |
81 | r.met_location = param["metLocation"] | 81 | r.location_id = param["metLocation"] |
82 | end | 82 | end |
83 | 83 | ||
84 | r.shiny = param["shiny"] | 84 | r.shiny = param["shiny"] |