Battle-Brothers-Legends / Legends-Bugs

Public bug tracker for Legends mod
35 stars 2 forks source link

[BUG] Apparently the onRemoved function of the perks such as Tool Drawers and Spare Parts is called BEFORE the perk is removed and hence the modifiers calculated for the player party won't be properly updated upon removing the perk. Possible solution is to set the perk to garbage and check for isGarbage in the calculate modifiers function #149

Open LordMidas opened 2 years ago

LordMidas commented 2 years ago

Versions

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem, such as links to a discord discussion, here.