mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +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
@@ -267,11 +267,11 @@
|
||||
O.locked = panel_locked
|
||||
if(!aisync)
|
||||
lawsync = FALSE
|
||||
O.connected_ai = null
|
||||
O.set_connected_ai(null)
|
||||
else
|
||||
O.notify_ai(NEW_BORG)
|
||||
if(forced_ai)
|
||||
O.connected_ai = forced_ai
|
||||
O.set_connected_ai(forced_ai)
|
||||
if(!lawsync)
|
||||
O.lawupdate = FALSE
|
||||
if(M.laws.id == DEFAULT_AI_LAWID)
|
||||
@@ -324,10 +324,10 @@
|
||||
|
||||
if(!aisync)
|
||||
lawsync = FALSE
|
||||
O.connected_ai = null
|
||||
O.set_connected_ai(null)
|
||||
else
|
||||
if(forced_ai)
|
||||
O.connected_ai = forced_ai
|
||||
O.set_connected_ai(forced_ai)
|
||||
O.notify_ai(AI_SHELL)
|
||||
if(!lawsync)
|
||||
O.lawupdate = FALSE
|
||||
|
||||
Reference in New Issue
Block a user