Removing comment

This commit is contained in:
David Masad
2021-02-06 07:09:31 -05:00
parent 82e7c5f403
commit 6b19e990b9

View File

@ -10,8 +10,6 @@ StoryManager.getAllStorylets = function(tag=null) {
for (let key in this.storylets) { for (let key in this.storylets) {
storylet = this.storylets[key]; storylet = this.storylets[key];
if (tag === null || ("tags" in storylet && storylet.tags.includes(tag))) { if (tag === null || ("tags" in storylet && storylet.tags.includes(tag))) {
// TODO: If using yield, this part will change
//storylets = storylet.generate();
for (let boundStorylet of storylet.generate()) { for (let boundStorylet of storylet.generate()) {
//boundStorylet = storylets[i]; //boundStorylet = storylets[i];
if (!("priority" in boundStorylet)) boundStorylet.priority = 0; if (!("priority" in boundStorylet)) boundStorylet.priority = 0;