Skip to content

Commit

Permalink
Handle singular stat bonuses in the graduation message.
Browse files Browse the repository at this point in the history
Closes #48.
  • Loading branch information
colons committed Jun 18, 2017
1 parent c69fe80 commit 4259fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ Idol.prototype.showDetail = function() {

askUser(
template.replace('<idol>', self.name) +
' The other idols in your agency get ' + bonus.toString(10) + ' bonus stat points each.'
' The other idols in your agency get ' + bonus.toString(10) + ' bonus stat point' + ((bonus === 1) ? '' : 's') + ' each.'
);

celebrate();
Expand Down

0 comments on commit 4259fb2

Please sign in to comment.