fix(spells): <ESC> to cancel spell-casting
This commit is contained in:
@@ -180,10 +180,9 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
||||
$rootScope.applyingAction = false;
|
||||
}
|
||||
|
||||
// $rootScope.castCancel = function(){
|
||||
// debugger
|
||||
// $rootScope.applyingAction = false;
|
||||
// $scope.spell = null;
|
||||
// }
|
||||
$rootScope.castCancel = function(){
|
||||
$rootScope.applyingAction = false;
|
||||
$scope.spell = null;
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user