Skip to content

Commit 973bcf9

Browse files
committed
fix linter issues
1 parent 99a0870 commit 973bcf9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pkg/parser/parser.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ func createTickStateMessage(tick dem.GameState, mapCS *MapCS, parser dem.Parser,
276276
action = "explode"
277277
}
278278
}
279-
if g.WeaponInstance.Type == common.EqDecoy {
280-
// TODO: fix decoy firing when not moving
281-
// vel := g.Velocity()
282-
// if vel.Distance(zeroVector) <= velocityDelta {
283-
// action = "explode"
284-
// }
285-
}
279+
// if g.WeaponInstance.Type == common.EqDecoy {
280+
// TODO: fix decoy firing when not moving
281+
// vel := g.Velocity()
282+
// if vel.Distance(zeroVector) <= velocityDelta {
283+
// action = "explode"
284+
// }
285+
// }
286286
x, y := translatePosition(g.Position(), mapCS)
287287
nades = append(nades, &message.Grenade{
288288
Id: int32(g.Entity.ID()),

pkg/steamsvc/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (h *handler) HandleGCPacket(packet *gamecoordinator.GCPacket) {
128128
{
129129
var msg csgoproto.CMsgConnectionStatus
130130
packet.ReadProtoMsg(&msg)
131-
fmt.Printf("connection status '%+v' \n", msg)
131+
// fmt.Printf("connection status '%+v' \n", msg)
132132
}
133133
default:
134134
fmt.Printf("received unknown message type %d\n", packet.MsgType)

0 commit comments

Comments
 (0)