We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c9a62 commit da5858cCopy full SHA for da5858c
samples/Unity.Match3/Assets/Scripts/Common/SpecialItemDetectors/StoneItemDetector.cs
@@ -37,10 +37,10 @@ public IEnumerable<IUnityGridSlot> GetSpecialItemGridSlots(IGameBoard<IUnityGrid
37
continue;
38
}
39
40
- var gridPosition = gameBoard[position];
41
- if (gridPosition.State.GroupId == (int) TileGroup.Stone)
+ var lookupGridSlot = gameBoard[position];
+ if (lookupGridSlot.State.GroupId == (int) TileGroup.Stone)
42
{
43
- yield return gridPosition;
+ yield return lookupGridSlot;
44
45
46
0 commit comments