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

Adds a overmap z failsafe #2525

Merged

Conversation

DeltaFire15
Copy link
Contributor

About The Pull Request

Basically, we sometimes have ships with people end up in nullspace that really shouldn't be there.
This adds a failsafe that makes any ship with a certain overmap flag (which all ships that used instance_overmap have), or those with any player inside that might notice, reaquire / create an overmap z if they somehow lose theirs when they arrive at a system.
This should mitigate effects from the variety of things that might cause this to happen (worst case admins should be able to manually trigger the failsafe by using add_ship, if it somehow race conditions and breaks)

Why It's Good For The Game

Fix man good.

Changelog

🆑
fix: Overmap objects with players should be a bit less likely to get stuck in nullspace.
/:cl:

At this point I do not know how we manage to misplace overmap zs all the time, so lets just have a failsafe for if we manage to achieve it!
@Bokkiewokkie Bokkiewokkie added Fix Overmap This issue or PR is related to overmap interactions labels Aug 19, 2023
Bokkiewokkie
Bokkiewokkie previously approved these changes Aug 19, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link
Contributor

@Bokkiewokkie Bokkiewokkie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't seen many things break on the overmap after this

@Bokkiewokkie Bokkiewokkie merged commit c9c09e3 into BeeStation:master Sep 21, 2023
9 checks passed
@DeltaFire15 DeltaFire15 deleted the overmap-reserved-wackyness branch November 5, 2023 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Active Test Merge Fix Overmap This issue or PR is related to overmap interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants