bevy/release-content/migration-guides/rename_condition.md
stevehello166 c9e69ac65e
Rename Condition to SystemCondition` (#19328)
# Objective
Fixes #19120 

## Solution
Use the find and replace token feature in VSCode to replace all the
`Condition`s with `SystemCondition`s. Then look through all the
documentation with find and replace to replace all the `Condition`s
there.

## Testing

- Did you test these changes? If so, how?
Yes, used cargo clippy, cargo build and cargo test.
- Are there any parts that need more testing?
Nope
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
By compiling and running bevy
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
Shouldn't be, but Fedora Linux with KDE Wayland
2025-05-22 15:50:19 +00:00

9 lines
309 B
Markdown

---
title: Renamed `Condition` to `SystemCondition`
pull_requests: [19328]
---
`Condition` is now `SystemCondition`. Replace all references and imports.
This change was made because `Condition` is an overly generic name that collides too often and is rarely used directly, despite appearing in the prelude.