mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-16 18:36:54 +01:00
Fixes shells unable to be re-used by the AI & an exploit
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
|
||||
locked = FALSE //unlock cover
|
||||
|
||||
if(connected_ai)
|
||||
deployed = FALSE
|
||||
|
||||
update_canmove()
|
||||
if(!QDELETED(builtInCamera) && builtInCamera.status)
|
||||
builtInCamera.toggle_cam(src,0)
|
||||
|
||||
@@ -1232,7 +1232,6 @@
|
||||
/mob/living/silicon/robot/proc/TryConnectToAI()
|
||||
set_connected_ai(select_active_ai_with_fewest_borgs(z))
|
||||
if(connected_ai)
|
||||
connected_ai.connected_robots += src
|
||||
lawsync()
|
||||
lawupdate = 1
|
||||
return TRUE
|
||||
@@ -1270,4 +1269,4 @@
|
||||
var/mob/living/silicon/ai/old_ai = .
|
||||
old_ai.connected_robots -= src
|
||||
if(connected_ai)
|
||||
connected_ai.connected_robots |= src
|
||||
connected_ai.connected_robots |= src
|
||||
|
||||
Reference in New Issue
Block a user