Skip to content

Commit

Permalink
Remove limit on daily dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas HINGANT committed Nov 9, 2018
1 parent b7dec99 commit 070b51f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ function resume() {
data.name = 'state';
Db.insertInDb('global', 'state', data);
}
if(data.daily < 4) {
Speach.processDialog('daily', data.daily.toString());
data.daily++;
}
Speach.processDialog('daily', data.daily.toString());
data.daily++;
Db.updateInDb('global', 'state', data);
});
});
Expand Down

0 comments on commit 070b51f

Please sign in to comment.