Files
Bubberstation/code/modules/shuttle
Time-Green 23403e13a7 Fixes shuttle events sometimes killing everyone (#85047)
FINALLY, MY ARCH NEMESIS DEFEATED!!

Below is nebula with a docking port close to the top left, where it
grabs the closest corner, the top left. The green area is the designated
no_hit zone, where stuff spawns when they dont want to hit the shuttle


![image](https://github.com/user-attachments/assets/374b140a-b733-4253-80fc-498967513617)

I lied. Because nebula's docking port is actually here

![image](https://github.com/user-attachments/assets/c0991c0f-1095-4d93-b31b-9f5e28fe53a4)

So the bounds proc snaps to the bottom right, and reports that back as
the top left corner, erroneously assuming the entire inside of the
shuttle is the place to spawn meteors


![image](https://github.com/user-attachments/assets/e4e5aef8-65f9-488b-a44f-836cf64adda8)

The fix I've added just double checks if the top left is the top left,
and corrects itself to the correct corner

Fixes #85030, #84994, #80227 

🆑
fix: Shuttle events meteors now dont sometimes kill everyone
/🆑
2024-07-21 23:49:28 -07:00
..