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

Prevents TGUI crash when slime tries to feed with 0 valid targets #28031

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Drsmail
Copy link
Contributor

@Drsmail Drsmail commented Jan 19, 2025

What Does This PR Do

Prevents TGUI crash when slime tries to feed with 0 valid targets, by not allowing to call a a TGUI input with 0 options.

Why It's Good For The Game

Bugs are bad! I hate them!

Testing

After
image


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

@Drsmail Drsmail changed the title Prevents TGUI Crush when slime tries to feed with 0 valid targets Prevents TGUI crash when slime tries to feed with 0 valid targets Jan 19, 2025
@ParadiseSS13-Bot ParadiseSS13-Bot added the -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally label Jan 19, 2025
@Contrabang Contrabang added the Fix This PR will fix an issue in the game label Jan 19, 2025
@ParadiseSS13-Bot ParadiseSS13-Bot added -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 Jan 19, 2025
Co-authored-by: Contrabang <[email protected]>
Signed-off-by: Drsmail <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting review This PR is awaiting review from the review team Fix This PR will fix an issue in the game
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants