Can now access the name of public characters for buffs
the buffDialog can now access the name of a publicly-available character so it can display their name as the caster
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Template.buffDialog.onCreated(function(){
|
||||
var buff = Buffs.findOne(this.buffId);
|
||||
Meteor.subscribe("singleCharacterName", buff.charId); //so we can access the names of public characters
|
||||
});
|
||||
|
||||
Template.buffDialog.helpers({
|
||||
buff: function(){
|
||||
return Buffs.findOne(this.buffId);
|
||||
|
||||
Reference in New Issue
Block a user