Fixed IonStorms sometimes affecting the laws of the current AI and future Cyborgs and AI's, including those in subsequent rounds.

This commit is contained in:
The Canned One
2024-10-03 12:32:50 +02:00
parent 963009a440
commit 4b633fde9c

View File

@@ -78,11 +78,8 @@ public sealed class IonStormSystem : EntitySystem
var lawset = lawsets.Pick(_robustRandom);
laws = _siliconLaw.GetLawset(lawset);
}
else
{
// clone it so not modifying stations lawset
laws = laws.Clone();
}
// clone it so not modifying stations lawset
laws = laws.Clone();
// shuffle them all
if (_robustRandom.Prob(target.ShuffleChance))