From ec8aed1f832750b4e7248dd0d171ab9302240855 Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Wed, 3 Apr 2019 14:53:16 +0200 Subject: [PATCH] fix board not blocked on game over in local match --- local_match_manager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local_match_manager.js b/local_match_manager.js index ce585b5..f6d3bd3 100644 --- a/local_match_manager.js +++ b/local_match_manager.js @@ -32,13 +32,14 @@ class LocalMatchManager this.status_label.innerHTML = "" + this.grid.get_won_player().get_name() + " has won."; this.control_container.update_head("" + this.grid.get_won_player().get_name() + " won"); this.control_container.set_background_color(this.grid.get_won_player().get_color_with_alpha(0.4)); + this.grid.block_all(); } else if (this.grid.is_complete()) { this.status_label.innerHTML = "Draw. Everybody looses!"; this.control_container.update_head("Draw"); this.control_container.set_background_color(theme_color_highlight); - + this.grid.block_all(); } else {