Fixes synched borgs not syncing laws (#14338)

* fixes annoying bug

* more
This commit is contained in:
Zonespace
2022-06-21 03:17:42 +01:00
committed by GitHub
parent e39e988853
commit 3f3d99057c
4 changed files with 15 additions and 1 deletions
@@ -97,6 +97,7 @@
affected_cyborgs += owned_borg
borg_flw += "[ADMIN_LOOKUPFLW(owned_borg)], "
borg_txt += "[owned_borg.name]([owned_borg.key]), "
owned_borg.lawsync() //SKYRAT ADDITION
borg_txt = borg_txt.Join()
GLOB.lawchanges.Add("[time] <B>:</B> [user.name]([user.key]) used [src.name] on [ainame]([aikey]).[law2log ? " The law specified [law2log]" : ""], [length(affected_cyborgs) ? ", impacting synced borgs [borg_txt]" : ""]")