Stat panel fixes (Not done)

This commit is contained in:
QuoteFox
2021-02-28 03:58:07 +00:00
parent fed22c003f
commit 74fd8d8f13
13 changed files with 74 additions and 61 deletions
+4 -4
View File
@@ -282,11 +282,11 @@
O.locked = panel_locked
if(!aisync)
lawsync = 0
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 = 0
if(M.laws.id == DEFAULT_AI_LAWID)
@@ -338,10 +338,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