Extra null check in multiselect ShowPreview
This commit is contained in:
@@ -1390,6 +1390,11 @@ public static class MultiSelectPatches
|
||||
return;
|
||||
}
|
||||
|
||||
if (gridAddress == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (gridAddress.Grid != gridView.Grid)
|
||||
{
|
||||
GridView otherGridView = gridView.transform.parent.GetComponentsInChildren<GridView>().FirstOrDefault(gv => gv.Grid == gridAddress.Grid);
|
||||
|
Reference in New Issue
Block a user