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 add a check when trying to regain control of locked DS to avoid waste of time. #4209

Merged
merged 5 commits into from
Aug 24, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@
return

if(dropship_control_lost && skillcheck(user, SKILL_PILOT, SKILL_PILOT_EXPERT))
var/remaining_time = timeleft(door_control_cooldown) / 10
var/units = "seconds"
Huffie56 marked this conversation as resolved.
Show resolved Hide resolved
if(remaining_time > 60)
to_chat(user, SPAN_WARNING("The shuttle is not responding, try again in [remaining_time] [units]."))
Huffie56 marked this conversation as resolved.
Show resolved Hide resolved
return
to_chat(user, SPAN_NOTICE("You start to remove the Queens override."))
if(!do_after(user, 3 MINUTES, INTERRUPT_ALL, BUSY_ICON_HOSTILE))
to_chat(user, SPAN_WARNING("You fail to remove the Queens override"))
Expand Down
Loading