mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Fixed reward sound playing after gold subtracted
(cherry picked from commit 2508b5ac18)
closes #7058
fixes #6963
This commit is contained in:
committed by
Blade Barringer
parent
ecb9e09ad8
commit
59749acf50
@@ -220,8 +220,8 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User','N
|
|||||||
$scope.armoire = Content.armoire;
|
$scope.armoire = Content.armoire;
|
||||||
|
|
||||||
$scope.buy = function(item) {
|
$scope.buy = function(item) {
|
||||||
User.user.ops.buy({params:{key:item.key}});
|
|
||||||
playRewardSound(item);
|
playRewardSound(item);
|
||||||
|
User.user.ops.buy({params:{key:item.key}});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user