From 7a8a7d45669b99c89b47afcb6bb7e6bfcab551ee Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sat, 1 Sep 2012 17:57:32 -0400 Subject: [PATCH] don't use growl on server (woops) --- lib/app/scoring.js | 2 -- src/app/scoring.coffee | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/app/scoring.js b/lib/app/scoring.js index 0de3bea523..6468c7554f 100644 --- a/lib/app/scoring.js +++ b/lib/app/scoring.js @@ -85,11 +85,9 @@ module.exports.score = score = function(spec) { modified = expModifier(user, 1); money += modified; exp += modified; - statsNotification("Exp,GP +" + (modified.toFixed(2)), 'success'); } else { modified = hpModifier(user, 1); hp -= modified; - statsNotification("HP " + (modified.toFixed(2)), 'error'); } updateStats(user, { hp: hp, diff --git a/src/app/scoring.coffee b/src/app/scoring.coffee index 2769d6cc76..930e23cec9 100644 --- a/src/app/scoring.coffee +++ b/src/app/scoring.coffee @@ -72,11 +72,11 @@ module.exports.score = score = (spec = {user:null, task:null, direction:null, cr modified = expModifier(user, 1) money += modified exp += modified - statsNotification "Exp,GP +#{modified.toFixed(2)}", 'success' + # statsNotification "Exp,GP +#{modified.toFixed(2)}", 'success' else modified = hpModifier(user, 1) hp -= modified - statsNotification "HP #{modified.toFixed(2)}", 'error' + # statsNotification "HP #{modified.toFixed(2)}", 'error' updateStats(user, {hp: hp, exp: exp, money: money}) return