allows players to send gems to each other; other minor related changes - fixes https://github.com/HabitRPG/habitrpg/issues/7227

This commit is contained in:
Alys
2016-05-14 05:58:40 -04:00
parent 4dd7c29baf
commit 2e078f4776
5 changed files with 11 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ habitrpg
};
$scope.sendGift = function (uuid, gift) {
Members.transferGems(message, uuid, $scope.gift.gems.amount)
Members.transferGems($scope.gift.message, uuid, $scope.gift.gems.amount)
.then(function (response) {
Notification.text('Gift sent!')
$rootScope.User.sync();