mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] Fix various issues with browser statpanel (#580)
* Fix various issues with browser statpanel * a Co-authored-by: Tad Hardesty <tad@platymuus.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
co-authored by
Tad Hardesty
Azarak
parent
582c843bbf
commit
c4c9dfabf6
@@ -39,7 +39,7 @@
|
||||
new_ai = select_active_ai(R, R.z)
|
||||
R.notify_ai(DISCONNECT)
|
||||
if(new_ai && (new_ai != R.connected_ai))
|
||||
R.connected_ai = new_ai
|
||||
R.set_connected_ai(new_ai)
|
||||
if(R.shell)
|
||||
R.undeploy() //If this borg is an AI shell, disconnect the controlling AI and assign ti to a new AI
|
||||
R.notify_ai(AI_SHELL)
|
||||
@@ -68,7 +68,7 @@
|
||||
R.notify_ai(DISCONNECT)
|
||||
if(R.shell)
|
||||
R.undeploy()
|
||||
R.connected_ai = null
|
||||
R.set_connected_ai(null)
|
||||
if(WIRE_LAWSYNC) // Cut the law wire, and the borg will no longer receive law updates from its AI. Repair and it will re-sync.
|
||||
if(mend)
|
||||
if(!R.emagged)
|
||||
|
||||
Reference in New Issue
Block a user