quaternary-game / quaternary

https://quaternary-game.github.io/quaternary/
0 stars 0 forks source link

Children don't inherit genotype if it changes in game #85

Closed IllustratedMan-code closed 7 months ago

IllustratedMan-code commented 7 months ago

Describe the bug After giving the organisms a bunch of traits and the asexual reproduction trait, the children do not inherit the genotype

To Reproduce Steps to reproduce the behavior:

  1. Add some traits to a character
  2. add asexual reproduction
  3. watch and see

Screenshots image Genotype of test character (after dragging and dropping)

image Genotype of child of test character

image Child and parent

john-whiting commented 7 months ago

Fixed Genotype Passing

Modified genotypes are now being cloned to the descendents of Asexual reproducers as of https://github.com/quaternary-game/quaternary/commit/2cf4056b2c088119370e64ed332b5e73fc9ba58e.

IllustratedMan-code commented 7 months ago

I think I know why the eyeballs don't show up, so I should be able to easily fix that

IllustratedMan-code commented 7 months ago

Fixed it with a direct commit to develop (sue me it was one line)