Whoops, fix alt styles when modeling real pets wearing them

Just never did this, I guess!! 😅
This commit is contained in:
Emi Matchu 2024-10-18 19:16:41 -07:00
parent bf20c9bb31
commit 09e5a39b4c

View file

@ -78,6 +78,7 @@ class Pet < ApplicationRecord
pose: self.pet_state.pose, pose: self.pet_state.pose,
state: self.pet_state.id, state: self.pet_state.id,
objects: self.items.map(&:id), objects: self.items.map(&:id),
style: self.alt_style ? self.alt_style.id : nil,
}.to_query }.to_query
end end