Whoops, fix alt styles when modeling real pets wearing them
Just never did this, I guess!! 😅
This commit is contained in:
parent
bf20c9bb31
commit
09e5a39b4c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue