From e2337d9c215f3fd6fee3bec662363e2a67a61d44 Mon Sep 17 00:00:00 2001 From: Markus Walther Date: Thu, 5 Sep 2024 00:02:08 +0100 Subject: [PATCH] print another msg to stderr instead of stdout --- pkg/demoinfocs/datatables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/demoinfocs/datatables.go b/pkg/demoinfocs/datatables.go index f43362d3..75f9292c 100644 --- a/pkg/demoinfocs/datatables.go +++ b/pkg/demoinfocs/datatables.go @@ -1084,7 +1084,7 @@ func (p *parser) bindWeaponS2(entity st.Entity) { wepType := common.EquipmentIndexMapping[itemIndex] if wepType == common.EqUnknown { - fmt.Println("unknown equipment with index", itemIndex) + fmt.Fprintln(os.Stderr, "unknown equipment with index", itemIndex) p.msgDispatcher.Dispatch(events.ParserWarn{ Message: fmt.Sprintf("unknown equipment with index %d", itemIndex),