Skip to content

Commit

Permalink
Possible terrible code but fixes server exploding (#36718)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancakemines authored Jun 22, 2024
1 parent bf3d674 commit 5318eb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/game/objects/items/weapons/boomerang.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
var/T = get_turf(target)

for(var/step_n = 1 to circle_radius)
T = get_step(T, m_dir)
if(circle_radius > 50)
return
else
T = get_step(T, m_dir)

points.Add(T)

Expand Down

0 comments on commit 5318eb2

Please sign in to comment.