[#1992] fix for contrib sword not getting ported

This commit is contained in:
Tyler Renelle 2013-12-16 09:24:30 -07:00
parent f60166301e
commit 171d233686

View file

@ -64,7 +64,7 @@ users.count query, (err, count) ->
costume: {}
_.each {head: "showHelm", weapon: "showWeapon", shield: "showShield", armor: "showArmor"}, (show, type) ->
user.items[type] = unless 0 < ~~user.items[type] < 8 then 0 else ~~user.items[type]
user.items[type] = unless 0 < ~~user.items[type] < 9 then 0 else ~~user.items[type]
_.times user.items[type]+1, (i) -> #+1 since 0 is significant
item =
if type is 'weapon'