fix board not blocked on game over in local match
This commit is contained in:
		@ -32,13 +32,14 @@ class LocalMatchManager
 | 
				
			|||||||
            this.status_label.innerHTML = "" + this.grid.get_won_player().get_name() + " has won.";
 | 
					            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.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.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())
 | 
					        else if (this.grid.is_complete())
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            this.status_label.innerHTML = "Draw. Everybody looses!";
 | 
					            this.status_label.innerHTML = "Draw. Everybody looses!";
 | 
				
			||||||
            this.control_container.update_head("Draw");
 | 
					            this.control_container.update_head("Draw");
 | 
				
			||||||
            this.control_container.set_background_color(theme_color_highlight);
 | 
					            this.control_container.set_background_color(theme_color_highlight);
 | 
				
			||||||
 | 
					            this.grid.block_all();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user