Explicitly reset mountCount to 0. (Otherwise, will not reset until refresh)

This commit is contained in:
Blade Barringer 2015-01-10 09:24:30 -06:00
parent a5d6c9de3f
commit 0f3d6bc751

View file

@ -162,6 +162,7 @@ habitrpg.controller('SettingsCtrl',
$scope.releaseMounts = function() {
User.user.ops.releaseMounts({});
$rootScope.mountCount = 0;
$rootScope.$state.go('tasks');
}