Skip to content

Commit

Permalink
Laser should ignore triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
timmybo5 committed Apr 10, 2023
1 parent 5a18140 commit 54f6294
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/swb_base/attachments/OffsetLaser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ public void OnFrame()

var tr = Trace.Ray(laserStartPos, laserStartPos + laserTrans.Rotation.Forward * Range * rangeMultiplier)
.Size(0.1f)
.WithoutTags("trigger")
.Ignore(owner)
.UseHitboxes()
.Run();
Expand Down Expand Up @@ -222,6 +223,7 @@ public void OnFrame()

TraceResult trDot = Trace.Ray(fromPos, toPos)
.Size(0.1f)
.WithoutTags("trigger")
.Ignore(owner)
.UseHitboxes()
.Run();
Expand Down

0 comments on commit 54f6294

Please # to comment.