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

Fixes the "eternal return jump" bug #2610

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

DeltaFire15
Copy link
Contributor

About The Pull Request

Title.
I got to stare at the runtimes of it happening, and it appears like it is caused by jumping with a disabled thirring drive (which usually gets caught for normal jumps), causing jump speed to be 0, which causes a divby0 error and thus kills the proc.

This makes jumps default to speed 1 (very slow) if the proc chain gets that far with speed <= 0, as that must be a manually called case (no active pylons on thirring should be caught in several prior locations if not directly called / overridden)

Why It's Good For The Game

Fix man good.

Testing Photographs and Procedure

No.

Changelog

🆑
fix: Being recalled with an inactive thirring drive should no longer trap the ship in the darkness between stars.
/:cl:

@Bokkiewokkie Bokkiewokkie added Fix Starsystem Issues and pull requests related to star systems. Active Test Merge labels Mar 8, 2024
@Bokkiewokkie Bokkiewokkie merged commit 2236a71 into BeeStation:master Mar 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Active Test Merge Fix Starsystem Issues and pull requests related to star systems.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants