mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
don't use growl on server (woops)
This commit is contained in:
@@ -85,11 +85,9 @@ module.exports.score = score = function(spec) {
|
||||
modified = expModifier(user, 1);
|
||||
money += modified;
|
||||
exp += modified;
|
||||
statsNotification("<i class='icon-star'></i>Exp,GP +" + (modified.toFixed(2)), 'success');
|
||||
} else {
|
||||
modified = hpModifier(user, 1);
|
||||
hp -= modified;
|
||||
statsNotification("<i class='icon-heart'></i>HP " + (modified.toFixed(2)), 'error');
|
||||
}
|
||||
updateStats(user, {
|
||||
hp: hp,
|
||||
|
||||
Reference in New Issue
Block a user