From 4074f49228a39aa0ef9fa4e6c2e0474de42ae5f1 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 8 Jul 2018 19:03:48 +0200 Subject: [PATCH] Fix Missing return statement --- lib/src/Grid.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/Grid.dart b/lib/src/Grid.dart index 468d648..c8287f1 100644 --- a/lib/src/Grid.dart +++ b/lib/src/Grid.dart @@ -94,6 +94,7 @@ class Grid { bool getCellState(int x, int y) { if (y < map.length && x < map[y].length) return map[y][x].state; + return null; } List> _buildGrid(int w, int h) {