Skip to content

Commit

Permalink
new seeds need new mutation list
Browse files Browse the repository at this point in the history
  • Loading branch information
PraxisMapper committed Sep 17, 2024
1 parent 540b1b1 commit fe7be81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Botany/SeedPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,13 @@ public SeedData Clone()
CanScream = CanScream,
TurnIntoKudzu = TurnIntoKudzu,
SplatPrototype = SplatPrototype,
Mutations = Mutations,
Mutations = new List<RandomPlantMutation>(),

// Newly cloned seed is unique. No need to unnecessarily clone if repeatedly modified.
Unique = true,
};

newSeed.Mutations.AddRange(Mutations);
return newSeed;
}

Expand Down

0 comments on commit fe7be81

Please sign in to comment.