kitten-science / kitten-scientists

Home of Kitten Scientists v2
https://kitten-science.com/
MIT License
29 stars 14 forks source link

Reset Timeline Resource limits are not persistent #20

Closed acmihal closed 1 year ago

acmihal commented 1 year ago

In the Time Control -> Reset Timeline -> Resource Control tree, the resource limit checkboxes and stock fields are not persistent across resets. If I set a bunch of values here then reset the timeline, I'm left with only Starchart selected and the stock field is changed to 500. The other Reset Timeline conditions, such as Bonfire and Space, seem to be working correctly.

oliversalzburg commented 1 year ago

I wasn't able to test the fix yet, but the mistake in the code seemed fairly obvious. I hope it works :D

acmihal commented 1 year ago

Confirmed fixed on v2.0.0-alpha.10-live.