Fixes the event manager's apply method (#936)
# Description Before, the environment IDs in the Event Manager's apply call in reset mode could be overwritten when iterating through the event terms. This could make the environment IDs invalid in some cases. This change avoids overwriting the global env_ids variable when checking for valid environment IDs that satisfy the frequency condition. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Showing
Please register or sign in to comment