Browse Source

self tile taken check is enough

Maxim Sokhatsky 11 years ago
parent
commit
ceb2efbe4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/web/priv/static/app/js/okey/okey.js

+ 1 - 1
apps/web/priv/static/app/js/okey/okey.js

@@ -177,7 +177,7 @@ function PostLoad()
             new scope.Card({color:scope.CARD_COLORS[revealed[1]-1],value:revealed[2]});
         }
 
-        if (scope.deck.justTaken && player == scope.user) {
+        if (player == scope.user) {
             $("#Gabrielo-Discard-Shape").hide();
             $("#Center-Card-Selection").hide();
             $("#You-Discard-Shape").show();