Files
Bubberstation/code/modules/antagonists
SkyratBot dd24a61847 [MIRROR] Kidnapping traitor objective properly returns victim (#26234)
* 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
🆑
fix: Kidnapping traitor objective now properly returns the victim to the
station with their items
/🆑

* Kidnapping traitor objective properly returns victim

---------

Co-authored-by: Isratosh <Isratosh@hotmail.com>
2024-01-25 09:35:55 -05:00
..