mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user