better
This commit is contained in:
parent
b52ff1164c
commit
c23b149a84
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ func (g *Game) printTreeRecursive(dst io.Writer, depth int, c interface{}) {
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(dst, "%s%v\n", indent, c)
|
fmt.Fprintf(dst, "%s%v\n", indent, c)
|
||||||
}
|
}
|
||||||
for x := range g.children[c] {
|
for x := range g.Children(c) {
|
||||||
g.printTreeRecursive(dst, depth+1, x)
|
g.printTreeRecursive(dst, depth+1, x)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue