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

Merged

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

@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Updated

Details
Server Instance

SPLURT

Revision

Origin: 0d8acbb
Pull Request: 7b038c2
Server: 2f6006b78f2940c6e17e0fd23815ee654070e4a2

Comment

@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Updated

Details
Server Instance

SPLURT

Revision

Origin: 0d8acbb
Pull Request: 7b038c2
Server: 0f6016f40748f016c1d803b3218781548c7cd694

Comment

@MosleyTheMalO MosleyTheMalO merged commit 7e1a7cd into SPLURT-Station:master Nov 9, 2024
6 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 9, 2024
@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Updated

Details
Server Instance

SPLURT

Revision

Origin: c85b64d
Pull Request: 7b038c2
Server: 4ea3ab4a81e6aa2f96f788952f345423f77f7f2e

Comment

@SPLURT-Station-Bot
Copy link
Collaborator

Test Merge Removed

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.

3 participants