From 171d233686efc11ffd043d18e88a7aff1b5ab437 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 16 Dec 2013 09:24:30 -0700 Subject: [PATCH] [#1992] fix for contrib sword not getting ported --- migrations/20131214_classes.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20131214_classes.coffee b/migrations/20131214_classes.coffee index b1b5f31692..878d029c68 100644 --- a/migrations/20131214_classes.coffee +++ b/migrations/20131214_classes.coffee @@ -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'