diff --git a/rpg-docs/client/views/character/newUserStepper/newUserStepper.js b/rpg-docs/client/views/character/newUserStepper/newUserStepper.js index 731ae2aa..c45acd9a 100644 --- a/rpg-docs/client/views/character/newUserStepper/newUserStepper.js +++ b/rpg-docs/client/views/character/newUserStepper/newUserStepper.js @@ -5,10 +5,8 @@ Template.newUserStepper.onRendered(function(){ this.autorun((c) => { var step = Session.get("newUserExperienceStep"); var hasFeatures = Features.find({charId: this.data._id}).count() > 1; - console.log({step, hasFeatures}); if (step === 0 && hasFeatures){ stepper.continue(); - c.stop(); } }); this.autorun((c) => { @@ -17,10 +15,11 @@ Template.newUserStepper.onRendered(function(){ charId: this.data._id, stat: "speed", "parent.group": "racial", + operation: "base", + value: {$gt: 0}, }).count(); if (step === 1 && hasEffect){ stepper.continue(); - c.stop(); } }); this.autorun((c) => { @@ -28,7 +27,6 @@ Template.newUserStepper.onRendered(function(){ if (step === 2 && Session.get("viewedSpeed")){ Session.set("viewedSpeed", undefined); stepper.continue(); - c.stop(); } }); }); diff --git a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js index 202df998..5c145202 100644 --- a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js +++ b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js @@ -158,7 +158,6 @@ Template.attributeDialogView.helpers({ return evaluateEffect(this.charId, this); }, showNewUserExperience: function(){ - console.log(this.statName); if (this.statName === "speed"){ return Session.get("newUserExperienceStep") >= 2; }