Update world api.md

This commit is contained in:
NewSoupVi
2024-09-21 19:03:01 +02:00
committed by GitHub
parent 8aed3efe97
commit db577ad899

View File

@@ -746,7 +746,7 @@ and check whether they were **unlocked**.
and check whether they **became locked**.
There are a multitude of other ways you can optimise LogicMixin. Some games use a `mygame_state_is_stale`
variable that they simply set to True in collect/remove and `init_mixin`.
variable that they simply set to True in `collect`, `remove`, and `init_mixin`.
The calls to the actual recalculating functions are then moved to the start of the relevant access rules like this:
```python