Fix seek game
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 27 Dec 2018 22:42:23 +0000 (23:42 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 27 Dec 2018 22:42:23 +0000 (23:42 +0100)
public/javascripts/components/game.js

index 58fd365..54ee128 100644 (file)
@@ -1266,7 +1266,7 @@ Vue.component('my-game', {
                },
                clickGameSeek: function(e) {
                        this.getRidOfTooltip(e.currentTarget);
-                       if (this.mode == "human")
+                       if (this.mode == "human" && this.score == "*")
                                return; //no newgame while playing
                        if (this.seek)
                        {