fix d2chaos
This commit is contained in:
parent
15ba701576
commit
b2451eb30c
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ func (gs *dslGenState) randStr(n int, inKey bool) string {
|
|||
func (gs *dslGenState) randShape() string {
|
||||
for {
|
||||
s := shapes[gs.rand.Intn(len(shapes))]
|
||||
if s != d2target.ShapeImage {
|
||||
if s != d2target.ShapeImage && s != d2target.ShapeText {
|
||||
return s
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue