Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Kidnapping traitor objective properly returns victim (#605)
* Kidnapping traitor objective properly returns victim (#81081) ## About The Pull Request Fixes #81022 The original idea was for kidnapping victims to be returned to the same area they were kidnapped from (dropoff_area), but this was always a typepath to an area and not a datum reference (and was set to null immediately after kidnapping with ungenerate_objective()) and it always fell back to the get_safe_random_station_turf() method. This worked fine until #80644 attempted to optimize it, causing a runtime and returning early. This removes the code to return them to the same area and instead just uses get_safe_random_station_turf(), runtime-free. ## Why It's Good For The Game Kidnapping victims now actually return to the station after 3 minutes with their stuff. I think returning to a random area is cooler than the same area they were sent from anyways, I can imagine a traitor just waiting it out if they wanted them dead and unable to snitch. ## Changelog :cl: fix: Kidnapping traitor objective now properly returns the victim to the station with their items /:cl: * Kidnapping traitor objective properly returns victim --------- Co-authored-by: Isratosh <[email protected]>
- Loading branch information