mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Fix admin shuttle recall revealing admin location (#95733)
## About The Pull Request - Fixes #95441 Using the admin shuttle recall command no longer reveals the admins location. ## Why It's Good For The Game Less bugs.
This commit is contained in:
@@ -54,7 +54,7 @@ ADMIN_VERB(cancel_shuttle, R_ADMIN, "Cancel Shuttle", "Recall the shuttle, regar
|
||||
if(tgui_alert(user, "You sure?", "Confirm Shuttle Cancellation", list("Yes", "No")) != "Yes")
|
||||
return
|
||||
|
||||
if(!SSshuttle.cancel_evac(user.mob)) // handles the case where the shuttle is set to unrecallable by another admin or the code
|
||||
if(!SSshuttle.cancel_evac(user.mob, hide_origin = TRUE)) // handles the case where the shuttle is set to unrecallable by another admin or the code
|
||||
return
|
||||
|
||||
BLACKBOX_LOG_ADMIN_VERB("Cancel Shuttle")
|
||||
|
||||
Reference in New Issue
Block a user