Permalink
Browse files

Hopefully I wake up soon, brain not working so good

  • Loading branch information...
1 parent 17da8e8 commit e4de041ef65607d260744df5e56b75d701135f0e Gabriel Preston committed Feb 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 hashbot.js
View
@@ -293,7 +293,8 @@ function newSong(data) {
if (song.StartTime == results[0].starttime) {
// Catch up on any missed votes while gone
log('This is the same song from before: ' + song.StartTime + ', ' + results[0].starttime);
- updateSongVotes(song.CurrentAwesomes - results[0].currentawesomes, song.CurrentLames - results[0].currentlames);
+ song.TotalAwesomes = song.CurrentAwesomes - results[0].currentawesomes;
+ song.TotalLames = song.CurrentLames - results[0].currentlames;
}
else {
// Start time doesn't match, so this isn't the same occurrence of what is in the DB, lets increment the playcount

0 comments on commit e4de041

Please sign in to comment.