Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve growing countdown on groups with withered/grown plants #34

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sorten
Copy link
Contributor

@sorten sorten commented Apr 23, 2022

In a withered/grown group, still display the countdown if any plant is not withered/grown. This is useful if only some of your eight plants grew, but you still need to know how long until the rest die.

Specifically, this code:

  1. Only updates the group timer if the incoming time is not min
  2. Always prefers the incoming time if the group timer is min

in a withered/grown group, still display the countdown
if any plant is not withered/grown
@sorten sorten marked this pull request as draft April 24, 2022 04:03
@sorten
Copy link
Contributor Author

sorten commented Apr 24, 2022

image

Adds bug: headers do not inherit the updates to smallheader timers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant