MMI-in-mecha can use the mecha tools again
This commit is contained in:
@@ -63,3 +63,11 @@
|
||||
..()
|
||||
if(stored_dna)
|
||||
stored_dna.real_name = real_name
|
||||
|
||||
/mob/living/brain/ClickOn(atom/A, params)
|
||||
..()
|
||||
if(istype(loc,/obj/item/device/mmi))
|
||||
var/obj/item/device/mmi/MMI = loc
|
||||
var/obj/mecha/M = MMI.mecha
|
||||
if((src == MMI.brainmob) && istype(M))
|
||||
return M.click_action(A,src,params)
|
||||
|
||||
Reference in New Issue
Block a user