vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
260 stars 541 forks source link

Possible fix to boomerangs killing the server #36718

Closed Pancakemines closed 1 week ago

Pancakemines commented 1 week ago

What this does

[bugfix] [oversight] Attempts to fix the server crash we keep getting due to boomerangs, When I tested them from what I understood the shard would explode this made step_n like 100 million or something which made the circle radius on a boomerang infinity and then it tried to count from 1 to infinity I think? image I have no idea if this is a good way to fix it but it does stop my local crashing so it seemed like better than nothing. If anyone who knows what they're doing wants to do this in a better way feel free and i'll close this because it might break something down the line I don't really know.

closes #36449

Why it's good

Stops the server dying which is probably good

How it was tested

I mapped in a shard and a bunch of boomerangs then blew myself and them up five times with the changes and without them. Crashed every time without didn't crash with.

Changelog

:cl: