mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +01:00
* Add balanceGemAmount property * Add check for balanceGemAmount property * Fix balanceGemAmount to be 4 times balance
This commit is contained in:
@@ -68,6 +68,7 @@ let _formatUserData = (user) => {
|
||||
}
|
||||
|
||||
properties.balance = user.balance;
|
||||
properties.balanceGemAmount = properties.balance * 4;
|
||||
|
||||
properties.tutorialComplete = user.flags && user.flags.tour && user.flags.tour.intro === -2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user