I play with klonan's companion drones, and while I am in the lab, my drones start atticking my structures on nauvis.
I think this is related to the player changing force. Could you maybe make the forces friendly with each other or set a cease fire when creating the new force so this doesn't happen?
(note: set_cease_fire and set_friend seem to not be symmetric, and from my testing, both the new and the old force need the cease_fire to catch all cases of the drones attacking my structures)
Thanks