From 759d37658b9819a7e64660595d868032bd8ed421 Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Fri, 21 Jun 2024 10:07:58 +0800 Subject: [PATCH] Fix logic error in sample --- teeworlds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teeworlds.go b/teeworlds.go index 55e6558..b998304 100644 --- a/teeworlds.go +++ b/teeworlds.go @@ -82,7 +82,7 @@ func main() { fmt.Printf("got chat msg: %s\n", chat.Message) // modify chat if this was a proxy - result.Response.Messages[i] = chat + result.Packet.Messages[i] = chat } } }