1
0
Fork 0
forked from OpenNeo/impress

hardcode more baby IDs :P

Interestingly, these items *are* correctly detecting their special
color on the homepage for model progress. So, we *do* have the ability
to detect this. But I don't have good item data locally, so it would
be hard to test this, so I'm just gonna go with the cheap solution
again, sorry XP
This commit is contained in:
Matt Dunn-Rankin 2018-02-25 14:45:10 -08:00
parent 9771ec834d
commit 711aca0008

View file

@ -182,7 +182,7 @@ class Item < ActiveRecord::Base
# HACK: this should probably be a flag on the record instead of
# being hardcoded :P
if [71893, 76192, 76202].include?(id)
if [71893, 76192, 76202, 77367, 77368, 77369, 77370].include?(id)
return Color.find_by_name('baby')
end