hotfix for streak bonus being given when selling item for gold

This commit is contained in:
Matteo Pagliazzi
2013-10-27 13:44:04 +01:00
parent c9ff96af6c
commit cd97cc1e24

View File

@@ -24,6 +24,7 @@ habitrpg.controller('NotificationCtrl',
if ((money > 0) && !!bonus) {
if (bonus < 0.01) bonus = 0.01;
Notification.text("+ " + Notification.coins(bonus) + " Streak Bonus!");
delete User.user._tmp.streakBonus;
}
});