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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: better handling of whiteship signaller input #25531

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

warriorstar-orion
Copy link
Contributor

@warriorstar-orion warriorstar-orion commented May 19, 2024

What Does This PR Do

This PR fixes issues with the whiteship signaller, where pressing cancel on the TGUI input for naming the port would still accidentally create a port. It also fixes an issue where pressing cancel on the TGUI input for choosing the port direction would not delete the port (we create the port that early because we want to use its ability to determine all the affected turfs to see if there's anything in them). It also adds more descriptive messages for when any step of the process is cancelled. Fixes #25530.

Why It's Good For The Game

Bugs bad.

Images of changes

output.mp4

Testing

Spawned in, verified cancelling at every step worked. Also tested that emptying the text field also cancelled placement (not in the video).

Changelog

馃啈
fix: The whiteship signaller now properly handles cancelling at any step.
/:cl:

@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally -Status: Awaiting review This PR is awaiting review from the review team and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels May 19, 2024
@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting merge This PR is ready for merge and removed -Status: Awaiting review This PR is awaiting review from the review team labels May 21, 2024
Copy link
Contributor

github-actions bot commented Jun 5, 2024

This pull request seems to be stale as there have been no changes in 14 days, please make changes within 7 days or the PR will be closed. If you believe this is a mistake, please inform a development team member on Discord.

@github-actions github-actions bot added the Stale This PR has been left inactive and requires an update. label Jun 5, 2024
@Burzah Burzah removed the Stale This PR has been left inactive and requires an update. label Jun 5, 2024
@lewcc lewcc added the Fix This PR will fix an issue in the game label Jun 6, 2024
@lewcc lewcc added this pull request to the merge queue Jun 6, 2024
Merged via the queue into ParadiseSS13:master with commit c6d0ece Jun 6, 2024
11 checks passed
@warriorstar-orion warriorstar-orion deleted the fix/signaller-cancel branch June 11, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting merge This PR is ready for merge Fix This PR will fix an issue in the game
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Whiteship docking signallers makes you think you can cancel the docking creation when you actually can't
4 participants