Latejoin cyborgs now correctly sync with the AI. (#17143)

It work, surprisely.
This commit is contained in:
SarmentiCampbell
2022-10-28 02:47:54 +01:00
committed by GitHub
parent 3893019fbc
commit fa05fa85be
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@
sync_target.visible_message(span_notice("[sync_target] gently chimes."), span_notice("LawSync protocol engaged."))
log_combat(ai_spawn, sync_target, "forcibly synced cyborg laws via spawning in")
sync_target.lawsync()
sync_target.lawupdate = TRUE
sync_target.show_laws()
// SKYRAT EDIT ADDITION END
+1
View File
@@ -53,6 +53,7 @@
robot_spawn.notify_ai(TRUE)
robot_spawn.visible_message(span_notice("[robot_spawn] gently chimes."), span_notice("LawSync protocol engaged."))
robot_spawn.lawsync()
robot_spawn.lawupdate = TRUE
robot_spawn.show_laws()
//SKYRAT EDIT END
if(!robot_spawn.connected_ai) // Only log if there's no Master AI