Skip to content

Comments

personal shuttle order console now actually checks if you can interact with it#889

Open
Paxilmaniac wants to merge 1 commit intoDopplerShift13:masterfrom
She-Is-Trying-To-Form-Her-First-Thought:shuttle-bugs
Open

personal shuttle order console now actually checks if you can interact with it#889
Paxilmaniac wants to merge 1 commit intoDopplerShift13:masterfrom
She-Is-Trying-To-Form-Her-First-Thought:shuttle-bugs

Conversation

@Paxilmaniac
Copy link
Member

@Paxilmaniac Paxilmaniac commented Feb 22, 2026

About The Pull Request

adds can interact check to the order console, to prevent ghosts and those without hands from messing with it

fixes #720

Why It's Good For The Game

ghosts could like technically mess with your shuttle order if they really wanted

Changelog

🆑
fix: you cannot interact with the shuttle order console if you cannot interact with things
/:cl:

@github-actions github-actions bot added the Fix Pest removal; Bugs label Feb 22, 2026
Comment on lines 114 to 118
/obj/machinery/computer/personal_shuttle_order/ui_interact(mob/user, datum/tgui/ui)
. = ..()
if(!can_interact(user))
return
if(!our_docking_port)
Copy link
Collaborator

Choose a reason for hiding this comment

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

all this shouldn't be on ui_interact(...) in the first place, given it's not a proper tgui window- and this proc would handling opening/updating it, not acting upon it
attack_hand(...) or interact(...) would probably serve better, probably the latter due to the can_interact(...) check involved
(note that admin ghosts get to in some cases bypass interact(...) limitations, which may matter in testing)

Copy link
Collaborator

Choose a reason for hiding this comment

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

probably also returning TRUE so it doesn't try to continue other hand stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Pest removal; Bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The shuttles-r-us console reacts to ghosts

2 participants