mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Fixes AI <-> Shell mind transfer issues
- Fixed Traitor/Malf AIs resetting their antagonist status and points upon transfering to a shell and back. - Fixes connected borgs being shown their laws when the AI returns to its shell.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
|
||||
/datum/antagonist/traitor/on_body_transfer(mob/living/old_body, mob/living/new_body)
|
||||
if(isAI(new_body)==isAI(old_body))
|
||||
if(issilicon(new_body) && issilicon(old_body))
|
||||
..()
|
||||
else
|
||||
silent = TRUE
|
||||
|
||||
@@ -1085,7 +1085,8 @@
|
||||
camera.c_tag = real_name //update the camera name too
|
||||
diag_hud_set_aishell()
|
||||
mainframe.diag_hud_set_deployed()
|
||||
mainframe.show_laws() //Always remind the AI when switching
|
||||
if(mainframe.laws)
|
||||
mainframe.laws.show_laws(mainframe) //Always remind the AI when switching
|
||||
mainframe = null
|
||||
|
||||
/mob/living/silicon/robot/attack_ai(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user