Fixed a couple of places where "Buff" should've been "Condition"

This commit is contained in:
Jacob
2017-09-05 13:56:15 +01:00
parent 87583fdac6
commit e2933c2df5
4 changed files with 10 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ Template.buffDetails.helpers({
if (applierCharacter.name === myName) {
var charName = "your "
} else {
if (applierCharacter.name[applierCharacter.name.length - 1] === 's') {
if (applierCharacter.name && applierCharacter.name[applierCharacter.name.length - 1] === 's') {
var charName = applierCharacter.name + "' ";
} else {
var charName = applierCharacter.name + "'s ";