Skip to content

Commit

Permalink
print another msg to stderr instead of stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-wa committed Sep 4, 2024
1 parent ff602ae commit e2337d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/demoinfocs/datatables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e2337d9

Please sign in to comment.