AI can no longer boot pilots from a mech as non-malf (#26908)

Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
Chap
2024-09-26 14:19:36 +00:00
committed by GitHub
co-authored by Adrer
parent ee73794aca
commit b26b47f275
@@ -774,6 +774,9 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
if(!isturf(loc))
to_chat(src, "<span class='warning'>You aren't in your core!</span>")
return
if(M.occupant && !can_dominate_mechs)
to_chat(src, "<span class='warning'>This exosuit has a pilot and cannot be controlled.</span>")
return
if(M)
M.transfer_ai(AI_MECH_HACK, src, usr) //Called om the mech itself.