Skip to content

Commit e2337d9

Browse files
committed
print another msg to stderr instead of stdout
1 parent ff602ae commit e2337d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/demoinfocs/datatables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ func (p *parser) bindWeaponS2(entity st.Entity) {
10841084
wepType := common.EquipmentIndexMapping[itemIndex]
10851085

10861086
if wepType == common.EqUnknown {
1087-
fmt.Println("unknown equipment with index", itemIndex)
1087+
fmt.Fprintln(os.Stderr, "unknown equipment with index", itemIndex)
10881088

10891089
p.msgDispatcher.Dispatch(events.ParserWarn{
10901090
Message: fmt.Sprintf("unknown equipment with index %d", itemIndex),

0 commit comments

Comments
 (0)