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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/pokeviewer/extract_save_data_job.rb b/app/jobs/pokeviewer/extract_save_data_job.rb index b60a8c5..546e6d2 100644 --- a/app/jobs/pokeviewer/extract_save_data_job.rb +++ b/app/jobs/pokeviewer/extract_save_data_job.rb
@@ -120,7 +120,7 @@ module Pokeviewer
120 rev.smartness = param["smartness"] 120 rev.smartness = param["smartness"]
121 rev.toughness = param["toughness"] 121 rev.toughness = param["toughness"]
122 rev.sheen = param["sheen"] 122 rev.sheen = param["sheen"]
123 rev.hold_item = param["heldItem"] 123 rev.item_id = param["heldItem"] if param.key? "heldItem"
124 rev.move_1_id = param["moves"][0]["id"] 124 rev.move_1_id = param["moves"][0]["id"]
125 rev.move_1_pp_bonuses = param["moves"][0]["ppBonuses"] 125 rev.move_1_pp_bonuses = param["moves"][0]["ppBonuses"]
126 126