diff --git a/dungeonbattle/mapgeneration/randomwalk.py b/dungeonbattle/mapgeneration/randomwalk.py index 3dc3906..60baaba 100644 --- a/dungeonbattle/mapgeneration/randomwalk.py +++ b/dungeonbattle/mapgeneration/randomwalk.py @@ -44,7 +44,7 @@ class Walker: if 0 < nx < width and 0 < ny < height: self.x, self.y = nx, ny - def split(): + def split(self): child = Walker(self.x, self.y) child.dir = self.dir return child