Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.85k stars 507 forks source link

Process toggle buttons sometimes don't match process state #5420

Closed dligr closed 1 week ago

dligr commented 2 months ago

I was able to find two cases when this happens:

  1. When exiting editor with a new organelle, the process speed of which is immediately zero (because of having no needed compound or something like that). For example, placing rusticyanin while having no iron or thylakoids in a patch with no light. The process is shown as turned off. After gathering needed resources, however, the process starts to run (the button still shows it as turned off).
  2. If a process was manually turned off, it starts to run again after an editor session. However, it is still shown as turned off.

Picture after exiting editor and getting resources required for processes to run: image Some processes run, even though they are turned off.

hhyyrylainen commented 2 months ago

Good finds, I put this in the 0.7.1 milestone as this doesn't seem super critical and might take away from fixing much more immediately visible bugs for 0.7.0 release (but if you opened this issue as you wanted to work on this, you are totally free to do so).