Refactored code which applies buffs

This commit is contained in:
Jacob
2017-08-09 16:48:38 +01:00
parent d4031dc4a7
commit 471a3e274e
3 changed files with 54 additions and 92 deletions

View File

@@ -46,6 +46,6 @@ Meteor.publish("singleCharacterName", function(characterId){
],
});
if (char) {
return Characters.find(characterId, {fields:"name"});
return Characters.find(characterId, {fields:{"name": 1}});
}
});