Skip to content

Commit 429de45

Browse files
committed
respect win state
1 parent 12443ce commit 429de45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/gameController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function Game($q, $scope, $http, $interval, $routeParams, SessionService, UserSe
3434
}, 5000);
3535

3636
$scope.move = function(cellid){
37-
if ( $scope.moving == 1 ) {
37+
if ( $scope.moving == 1 || $scope.winner != '' ) {
3838
return;
3939
}
4040
$scope.moving = 1;

0 commit comments

Comments
 (0)