Fixed syntax error in Walker.split
This commit is contained in:
parent
32e6eab943
commit
2a1be4233b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue