mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Fixes orbiting runtimes caused by mind transfers (#90470)
## About The Pull Request Orbiting component typechecked a knowingly null parent, which errored and caused two runtimes for the price of one when you tried to transfer a mob's mind while it had orbiters. ## Changelog 🆑 fix: Fixed mind transfers not transferring mob's observers to mind's new mob. /🆑
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
newcomp.orbiter_list = null
|
||||
|
||||
/datum/component/orbiter/PostTransfer(datum/new_parent)
|
||||
if(!isatom(parent) || isarea(new_parent) || !get_turf(new_parent))
|
||||
if(!isatom(new_parent) || isarea(new_parent) || !get_turf(new_parent))
|
||||
return COMPONENT_INCOMPATIBLE
|
||||
move_react(new_parent)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user