mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes TGUI ghost orbit menu runtime (#15011)
* orbit menu tgui debugging * CI test * enforce R.mmi.brainmob.name != null * typing Co-authored-by: Kyep <Kyep@users.noreply.github.com>
This commit is contained in:
@@ -93,6 +93,8 @@
|
||||
if(O.mind && O.mind.assigned_role == "Cyborg")
|
||||
if(O.mind.role_alt_title == "Robot")
|
||||
O.mmi = new /obj/item/mmi/robotic_brain(O)
|
||||
if(O.mmi.brainmob)
|
||||
O.mmi.brainmob.name = O.name
|
||||
else
|
||||
O.mmi = new /obj/item/mmi(O)
|
||||
O.mmi.transfer_identity(src) //Does not transfer key/client.
|
||||
|
||||
Reference in New Issue
Block a user