From b2451eb30c7a2d2d9ca135b629bce49a055d718e Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Mon, 3 Jun 2024 13:18:20 -0600 Subject: [PATCH] fix d2chaos --- d2chaos/d2chaos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2chaos/d2chaos.go b/d2chaos/d2chaos.go index 42445a974..337ac24ae 100644 --- a/d2chaos/d2chaos.go +++ b/d2chaos/d2chaos.go @@ -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 } }