mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[MIRROR] Makes docked shuttle departure timer reset when a hostile environment threat is stopped (#28760)
* Makes docked shuttle departure timer reset when a hostile environment threat is stopped (#84771) ## About The Pull Request Changes hostile environments so that if the shuttle is docked then the ETD timer will be reset when the threat is stopped. ## Why It's Good For The Game Right now, if you end a hostile environment threat before the shuttle timer goes to ERR the timer won't reset, which often leaves the people who went to deal with the threat unable to get back to the shuttle in time, which really sucks. People shouldn't be punished for stopping a threat. ## Changelog 🆑 qol: Docked emergency shuttles will always reset their departure timer when a hostile environment is stopped, regardless of if the timer displays ETD or ERR. /🆑 * Makes docked shuttle departure timer reset when a hostile environment threat is stopped --------- Co-authored-by: GoblinBackwards <22856555+GoblinBackwards@users.noreply.github.com>
This commit is contained in:
co-authored by
GoblinBackwards
parent
ef53c8d37c
commit
7c8ebf7d88
@@ -543,7 +543,7 @@ SUBSYSTEM_DEF(shuttle)
|
||||
sender_override = "Emergency Shuttle Uplink Alert",
|
||||
color_override = "grey",
|
||||
)
|
||||
if(!emergency_no_escape && (emergency.mode == SHUTTLE_STRANDED))
|
||||
if(!emergency_no_escape && (emergency.mode == SHUTTLE_STRANDED || emergency.mode == SHUTTLE_DOCKED))
|
||||
emergency.mode = SHUTTLE_DOCKED
|
||||
emergency.setTimer(emergency_dock_time)
|
||||
priority_announce(
|
||||
|
||||
Reference in New Issue
Block a user