From c562f9cbb59d1453d74c6689b53cbaaaaf8ae561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Neveu?= Date: Sat, 8 Jun 2024 21:13:58 +0200 Subject: [PATCH] suppression d'une mauvaise modification --- source/Trek-12/Models/Game/Game.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/Trek-12/Models/Game/Game.cs b/source/Trek-12/Models/Game/Game.cs index e0e76c3..f93bc38 100644 --- a/source/Trek-12/Models/Game/Game.cs +++ b/source/Trek-12/Models/Game/Game.cs @@ -535,12 +535,6 @@ namespace Models.Game //throw new InvalidCellException("Cell is not valid. Please choose again."); } - bool res = true; - if (!res) - { - return false; - //throw new InvalidPlaceResultException("Cell is not valid for place result. Please choose again."); - } GameRules.IsZoneValidAndAddToZones(cell, UsedMap); AddToRopePath(cell, GameRules.EveryAdjacentCells(cell, UsedMap.Boards.ToList())); CellChosen?.Invoke(this, new CellChosenEventArgs(cell, result));