Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another Leash Fix #203

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

Mnemotechnician
Copy link
Contributor

Description

So uhhh the last fix introduced a severe bug that caused FTL to fail if the FTLing shuttle contained an entity who had a leash attached to themselves in their inventory (sorry 😭). This reworks the system to fix that and more bugs.

Leash joints can now be created/disposed of dynamically throughout the lifespan of a leash, without forcing the removal of the latter. This is used to prevent the physics engine from creating a joint that would connect an entity with itself (which is exactly what happens when you put a leash attached to yourself in your inventory.

This also indirectly fixes the issue with leashes breaking when put in the inventory of the leashed person, and allows a person to attach a leash to themselves, and ensures that leashes break when going through portals, unless the destination portal is close enough.

Media

8mb.video-V84-JLBejqoT.mp4

Changelog

🆑

  • fix: Fixed several major issues with leashes. Again.

@github-actions github-actions bot added Status: Needs Review Someone please review this Changes: C# Changes any cs files labels Sep 23, 2024
@Floof-Station-Bot Floof-Station-Bot changed the title Another leash fix Another Leash Fix Sep 23, 2024
@FoxxoTrystan FoxxoTrystan added the Priority: 1-High Needs to be resolved as soon as possible label Sep 23, 2024
@Memeji Memeji merged commit d7818c9 into Fansana:master Sep 23, 2024
15 checks passed
Floof-Station-Bot added a commit that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Priority: 1-High Needs to be resolved as soon as possible Status: Needs Review Someone please review this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants