mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
added balance to analytics (#8086)
* added balance to analytics * removed if check
This commit is contained in:
committed by
Blade Barringer
parent
3c7f71d214
commit
ed880a665a
@@ -127,6 +127,9 @@
|
||||
properties.Level = user.stats.lvl;
|
||||
properties.Mana = Math.floor(user.stats.mp);
|
||||
}
|
||||
|
||||
properties.balance = user.balance;
|
||||
|
||||
properties.tutorialComplete = user.flags && user.flags.tour && user.flags.tour.intro === -2;
|
||||
if (user.habits && user.dailys && user.todos && user.rewards) {
|
||||
properties["Number Of Tasks"] = {
|
||||
|
||||
Reference in New Issue
Block a user