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

Fix shuttle_catastrophe canSpawnEvent #1212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CSDSP
Copy link

@CSDSP CSDSP commented Oct 27, 2024

About The Pull Request

Prevents the shuttle_catastrophe event from occurring when the build your own shuttle is selected.
This was already intended to be the case, but the existing code failed to work due to relying on a name that wasn't actually used. This changes it to check the type instead, since the BYOS has its own subtype.

Why It's Good For The Game

The build your own shuttle takes a long time to construct well. With the shuttle catastrophe occurring, it undoes hours of work,
and in fact makes it impossible to recover or even restart that work in the same shift. It also has problems on top of that, leading to the shuttle sometimes simply not existing or killing everyone.
Without this, it's practically impossible to make a BYOS that actually works, without an admin disabling events altogether.

A Port?

Nope.

Pre-Merge Checklist

  • You tested this on a local server.
  • This code did not runtime during testing.
  • You documented all of your changes.

Changelog

🆑
fix: Code disabling the shuttle_catastrophe event while a BYOS is active.
/:cl:

@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Deployed

Details
Server Instance

SPLURT

Revision

Origin: 40302dc
Pull Request: 7b038c2
Server: 61dc7a404e485136596e27f2c0c814b9e3ecab6c

Comment

@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Updated

Details
Server Instance

SPLURT

Revision

Origin: b921884
Pull Request: 7b038c2
Server: 2a1b71e123ef6658d1d0f74ae1a5820b5b4eb20a

Comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants