diff --git a/grid.py b/grid.py index a124e29..e3f9c89 100644 --- a/grid.py +++ b/grid.py @@ -47,7 +47,7 @@ class Grid: self.__trackBoundaries(pos) self.__grid[pos] = not self.__default - def set(self, pos: Coordinate, value: Any): + def set(self, pos: Coordinate, value: Any = True): if value in OFF_STATES and pos in self.__grid: del self.__grid[pos] elif value not in OFF_STATES: