diff --git a/squirrelbattle/mapgeneration/randomwalk.py b/squirrelbattle/mapgeneration/randomwalk.py index b3287ea..32ec0d6 100644 --- a/squirrelbattle/mapgeneration/randomwalk.py +++ b/squirrelbattle/mapgeneration/randomwalk.py @@ -58,9 +58,7 @@ class Walker: class Generator: - def __init__(self, params: dict = None): - if params is None: - params = DEFAULT_PARAMS + def __init__(self, params: dict = DEFAULT_PARAMS): self.params = params def run(self) -> Map: