Ensure plants always have some reagents after crossing (#20078)
This commit is contained in:
@@ -320,7 +320,10 @@ public sealed class MutationSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
if (Random(0.5f))
|
if (Random(0.5f))
|
||||||
{
|
{
|
||||||
val.Remove(this_chem.Key);
|
if (val.Count > 1)
|
||||||
|
{
|
||||||
|
val.Remove(this_chem.Key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user