git-learning-game / oh-my-git

An interactive Git learning game!
https://ohmygit.org
Other
2k stars 145 forks source link

achieved goals are reset #136

Open tutut500 opened 2 years ago

tutut500 commented 2 years ago

Levels with multiple goals are only recognized as done, when all goals are achieved at the same time, even in the levels, in which achieving the next goal breaks the current goal

To reproduce

  1. start the level "Update files in the index"
  2. Make a Change to the candle -> the goal "make a change to the candle" turns green
  3. add the candle -> the goal "make a change to the candle" turns red again

Similar issues are in the levels: "add new files to the index", "adding changes step by step" and "Problems"(although this one resolves itself when continuing the level) and maybe some in the stash category or lower (I didn't check these yet)

OS: Nixos 21.11 game version: 0.6.4